Module: Avm::EacRailsBase1::RunnerWith::RailsEnvironment::ClassMethods

Defined in:
lib/avm/eac_rails_base1/runner_with/rails_environment.rb

Instance Method Summary collapse

Instance Method Details

#default_rails_environmentObject



22
23
24
25
26
# File 'lib/avm/eac_rails_base1/runner_with/rails_environment.rb', line 22

def default_rails_environment
  const_get(DEFAULT_RAILS_ENVIRONMENT_CONSTANT)
rescue ::NameError
  ::Avm::EacRailsBase1::Instances::Base::DEFAULT_RAILS_ENVIRONMENT
end