Class: Fastr::Controller
- Inherits:
-
Object
- Object
- Fastr::Controller
- Includes:
- Deferrable, Template
- Defined in:
- lib/fastr/controller.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
Class Method Summary collapse
Methods included from Deferrable
Methods included from Template
included, #render, #render_haml, #render_text
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
3 4 5 |
# File 'lib/fastr/controller.rb', line 3 def env @env end |
Class Method Details
.inherited(kls) ⇒ Object
8 9 10 |
# File 'lib/fastr/controller.rb', line 8 def self.inherited(kls) kls.instance_eval('include Fastr::Log') end |