Method: Bundler::Thor::Shell::Basic#mute
- Defined in:
- lib/bundler/vendor/thor/lib/thor/shell/basic.rb
#mute ⇒ Object
Mute everything that’s inside given block
22 23 24 25 26 27 |
# File 'lib/bundler/vendor/thor/lib/thor/shell/basic.rb', line 22 def mute @mute = true yield ensure @mute = false end |