def quietly(*args, &block)
      previous_state = @rye_quiet
      enable_quiet_mode
      ret = self.instance_exec *args, &block
      @rye_quiet = previous_state
      ret
    end
def quietly(*args, &block)
      previous_state = @rye_quiet
      enable_quiet_mode
      ret = self.instance_exec *args, &block
      @rye_quiet = previous_state
      ret
    end
Like batch, except it enables quiet mode before executing the block.
 After executing the block, quiet mode is returned back to whichever
 state it was previously in. In other words, this method won't enable
 quiet mode if it was already disabled.

 In quiet mode, the pre and post command hooks are not called. This
 is used internally when calling commands like +ls+ to check whether
 a file path exists (to prevent polluting the logs).