Method: Rails::Configuration#environment
- Defined in:
- lib/initializer.rb
#environment ⇒ Object
Return the currently selected environment. By default, it returns the value of the RAILS_ENV constant.
738 739 740 |
# File 'lib/initializer.rb', line 738 def environment ::RAILS_ENV end |