class ActiveSupport::EnvironmentInquirer

:nodoc:

def initialize(env)

def initialize(env)
  raise(ArgumentError, "'local' is a reserved environment name") if env == "local"
  super(env)
  DEFAULT_ENVIRONMENTS.each do |default|
    instance_variable_set :"@#{default}", env == default
  end
  @local = in? LOCAL_ENVIRONMENTS
end

def local?

Returns true if we're in the development or test environment.
def local?
  @local
end