Module: Conjoin::ClassMethods
- Included in:
- Conjoin
- Defined in:
- lib/conjoin/class_methods.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
Returns the value of attribute root.
Instance Method Summary collapse
Instance Attribute Details
#root ⇒ Object
Returns the value of attribute root.
3 4 5 |
# File 'lib/conjoin/class_methods.rb', line 3 def root @root end |
Instance Method Details
#env ⇒ Object
5 6 7 8 9 |
# File 'lib/conjoin/class_methods.rb', line 5 def env @env ||= EnvString.new( ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development' ) end |