Class: RapidRunty::Controller

Inherits:
Object
  • Object
show all
Defined in:
lib/rapid_runty/controller.rb

Overview

Application controller

TODO: Just saves the env for now

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#envObject (readonly)

Returns the value of attribute env.



10
11
12
# File 'lib/rapid_runty/controller.rb', line 10

def env
  @env
end