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