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