summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-06-22 19:29:52 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-06-23 18:41:36 -0500
commit93489a87c69d3849e1244003f102f2f9eab5799a (patch)
treedf04adab239284ce78bbeb680a903fdbe0de9a98 /lib
parent2cae4e18d9a6041b947b78888d30cf4f758d4a1d (diff)
downloadbundler-93489a87c69d3849e1244003f102f2f9eab5799a.tar.gz
[Shell] Fix #silence
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/ui/shell.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/ui/shell.rb b/lib/bundler/ui/shell.rb
index f940330fb6..df41d72768 100644
--- a/lib/bundler/ui/shell.rb
+++ b/lib/bundler/ui/shell.rb
@@ -79,8 +79,8 @@ module Bundler
tell_me(msg, nil, newline)
end
- def silence
- with_level("silent")
+ def silence(&blk)
+ with_level("silent", &blk)
end
private