method
available_environments
available_environments()
private
Hide source
# File railties/lib/rails/commands/console.rb, line 46 def available_environments Dir['config/environments/*.rb'].map { |fname| File.basename(fname, '.*') } end