aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/cli/console.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/cli/console.rb')
-rw-r--r--lib/bundler/cli/console.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/cli/console.rb b/lib/bundler/cli/console.rb
index 92bf848b..7c7010e7 100644
--- a/lib/bundler/cli/console.rb
+++ b/lib/bundler/cli/console.rb
@@ -10,7 +10,7 @@ module Bundler
group ? Bundler.require(:default, *(group.split.map!(&:to_sym))) : Bundler.require
ARGV.clear
- console = get_console(Bundler.settings[:console] || 'irb')
+ console = get_console(Bundler.settings[:console] || "irb")
console.start
end
@@ -19,14 +19,14 @@ module Bundler
get_constant(name)
rescue LoadError
Bundler.ui.error "Couldn't load console #{name}"
- get_constant('irb')
+ get_constant("irb")
end
def get_constant(name)
const_name = {
- 'pry' => :Pry,
- 'ripl' => :Ripl,
- 'irb' => :IRB,
+ "pry" => :Pry,
+ "ripl" => :Ripl,
+ "irb" => :IRB,
}[name]
Object.const_get(const_name)
rescue NameError