method
environment
rails latest stable - Class:
Rails::Configuration
environment()public
Return the currently selected environment. By default, it returns the value of the RAILS_ENV constant.
environment()Return the currently selected environment. By default, it returns the value of the RAILS_ENV constant.