method

environment

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Command
environment() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/command.rb, line 57
      def environment # :nodoc:
        ENV["RAILS_ENV"].presence || ENV["RACK_ENV"].presence || "development"
      end
Register or log in to add new notes.