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