diff options
author | Andre Arko <andre@arko.net> | 2014-01-09 05:59:25 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-01-09 05:59:26 -0800 |
commit | 828d2aed81707b7de732c05b5095ccd26a7f89da (patch) | |
tree | 98d6adc5b8d229b02bc83d722ba023d5a5ec6e81 /lib/bundler/ui.rb | |
parent | 9493b9151cddc908c5a8693ac722209e85cd0993 (diff) | |
download | bundler-828d2aed81707b7de732c05b5095ccd26a7f89da.tar.gz |
add silence to quiet UI
fixes #2807
Diffstat (limited to 'lib/bundler/ui.rb')
-rw-r--r-- | lib/bundler/ui.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/ui.rb b/lib/bundler/ui.rb index 074c729c..0dcbcd14 100644 --- a/lib/bundler/ui.rb +++ b/lib/bundler/ui.rb @@ -31,5 +31,9 @@ module Bundler def ask(message) end + + def silence + yield + end end end |