Class: RapidRunty::Controller
- Inherits:
-
Object
- Object
- RapidRunty::Controller
- Defined in:
- lib/rapid_runty/controller.rb
Overview
Application controller
TODO: Just saves the env for now
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(env) ⇒ Controller
constructor
A new instance of Controller.
Constructor Details
#initialize(env) ⇒ Controller
Returns a new instance of Controller.
6 7 8 |
# File 'lib/rapid_runty/controller.rb', line 6 def initialize(env) @env = env end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
10 11 12 |
# File 'lib/rapid_runty/controller.rb', line 10 def env @env end |