summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Moore <tmoore@incrementalism.net>2014-01-09 19:59:27 +1100
committerTim Moore <tmoore@incrementalism.net>2014-01-09 20:04:36 +1100
commit04e37353ce9ab49b80bf966b75a52a5bb99d6bdd (patch)
tree58c22cdcfd83705aff1843204c5edfdb5c973adf
parentc0adefe935dc2dbd9842d858868cd37829d11619 (diff)
downloadbundler-04e37353ce9ab49b80bf966b75a52a5bb99d6bdd.tar.gz
Use the options accessor instead of a local.
Closes #2805.
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 899ee8bba2..1ce1863791 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -21,7 +21,7 @@ module Bundler
rescue UnknownArgumentError => e
raise InvalidOption, e.message
ensure
- options ||= {}
+ self.options ||= {}
Bundler.ui = UI::Shell.new(options)
Bundler.ui.level = "debug" if options["verbose"]
end