method
environment
v5.1.7 -
Show latest stable
- Class:
Rails::Command
environment()public
No documentation available.
# File railties/lib/rails/command.rb, line 25
def environment # :nodoc:
ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
end