class method
self.env
Ruby on Rails 4.2.9
Since v2.2.3Signature
self.env()
No documentation comment.
Source
# File railties/lib/rails.rb, line 59
def env
@_env ||= ActiveSupport::StringInquirer.new(ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development")
end
Defined in railties/lib/rails.rb line 59
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails