diff options
author | Colby Swandale <colby@taplaboratories.com> | 2017-04-17 15:05:44 +1000 |
---|---|---|
committer | Colby Swandale <colby@taplaboratories.com> | 2017-04-20 22:15:37 +1000 |
commit | 052bf9388e677ad30f24a6c7d83b7fa05f3acaf9 (patch) | |
tree | 43fb60bb43ccb5c8aceee60a2ae936909d0171ba /lib/bundler/cli | |
parent | 8eb09da9e71cc2fe7bec5feb3ea484f1a5eab2d6 (diff) | |
download | bundler-052bf9388e677ad30f24a6c7d83b7fa05f3acaf9.tar.gz |
move implementation of Bundler::Env to class methods
Currently to print the Bundler env report you need to need to invoke it
via:
Bundler::Env.new.report
This change removes the need to instantiate an instance and just call
the class method of the same name:
Bundler::Env.report
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r-- | lib/bundler/cli/issue.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/issue.rb b/lib/bundler/cli/issue.rb index ace0f985a9..91f827ea99 100644 --- a/lib/bundler/cli/issue.rb +++ b/lib/bundler/cli/issue.rb @@ -26,7 +26,7 @@ module Bundler EOS - Bundler.ui.info Bundler::Env.new.report + Bundler.ui.info Bundler::Env.report Bundler.ui.info "\n## Bundle Doctor" doctor |