Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v4.2.9) is shown here.
available_environments()
private
No documentation available.
# File railties/lib/rails/commands/console.rb, line 46
def available_environments
Dir['config/environments/*.rb'].map { |fname| File.basename(fname, '.*') }
end