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