diff options
author | Tim Moore <tmoore@incrementalism.net> | 2014-01-09 19:59:27 +1100 |
---|---|---|
committer | Tim Moore <tmoore@incrementalism.net> | 2014-01-09 20:04:36 +1100 |
commit | 04e37353ce9ab49b80bf966b75a52a5bb99d6bdd (patch) | |
tree | 58c22cdcfd83705aff1843204c5edfdb5c973adf | |
parent | c0adefe935dc2dbd9842d858868cd37829d11619 (diff) | |
download | bundler-04e37353ce9ab49b80bf966b75a52a5bb99d6bdd.tar.gz |
Use the options accessor instead of a local.
Closes #2805.
-rw-r--r-- | lib/bundler/cli.rb | 2 |
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 |