Method: Foreman::Thor::Shell::Basic#mute

Defined in:
lib/foreman/vendor/thor/lib/thor/shell/basic.rb

#muteObject

Mute everything that’s inside given block



21
22
23
24
25
26
# File 'lib/foreman/vendor/thor/lib/thor/shell/basic.rb', line 21

def mute
  @mute = true
  yield
ensure
  @mute = false
end