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