Exception: Reck::Response
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Reck::Response
- Defined in:
- lib/reck/application.rb
Constant Summary collapse
- NOT_BLANK =
Regexp.new('\S').freeze
Instance Method Summary collapse
Instance Method Details
#head? ⇒ Boolean
11 12 13 |
# File 'lib/reck/application.rb', line 11 def head? == self.class.name || !~ NOT_BLANK end |
#render ⇒ Object
15 16 17 18 |
# File 'lib/reck/application.rb', line 15 def render erb = ERB.new() erb.result end |