Module: Hobbit::Environment
- Defined in:
- lib/hobbit/environment.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(othermod) ⇒ Object
3 4 5 |
# File 'lib/hobbit/environment.rb', line 3 def self.included(othermod) othermod.extend self end |
Instance Method Details
#environment ⇒ Object
7 8 9 |
# File 'lib/hobbit/environment.rb', line 7 def environment ENV['RACK_ENV'].to_sym end |