aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/console_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails/commands/console_helper.rb')
-rw-r--r--railties/lib/rails/commands/console_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/commands/console_helper.rb b/railties/lib/rails/commands/console_helper.rb
index 48c489740e..0b7f1c4249 100644
--- a/railties/lib/rails/commands/console_helper.rb
+++ b/railties/lib/rails/commands/console_helper.rb
@@ -8,7 +8,7 @@ module Rails
def start(*args)
new(*args).start
end
-
+
private
def set_options_env(arguments, options)
if arguments.first && arguments.first[0] != "-"
@@ -24,11 +24,11 @@ module Rails
def available_environments
Dir["config/environments/*.rb"].map { |fname| File.basename(fname, ".*") }
- end
+ end
end
def environment
ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
end
end
-end \ No newline at end of file
+end