vendor/bundle/ruby/2.5.0/gems/rake-13.0.1/lib/rake/file_utils_ext.rb
def verbose(value=nil)
      oldvalue = FileUtilsExt.verbose_flag
      FileUtilsExt.verbose_flag = value unless value.nil?
      if block_given?
        begin
          yield
        ensure
          FileUtilsExt.verbose_flag = oldvalue
        end
      end
      FileUtilsExt.verbose_flag
    end
# Get/set the verbose flag controlling output from the FileUtils
# utilities.  If verbose is true, then the utility method is
# echoed to standard output.
#
# Examples:
#    verbose              # return the current value of the
#                         # verbose flag
#    verbose(v)           # set the verbose flag to _v_.
#    verbose(v) { code }  # Execute code with the verbose flag set
#                         # temporarily to _v_.  Return to the
#                         # original value when code is done.
Get/set the verbose flag controlling output from the FileUtils
utilities.  If verbose is true, then the utility method is
echoed to standard output.

verbose              # return the current value of the
verbose flag
verbose(v)           # set the verbose flag to _v_.
verbose(v) { code }  # Execute code with the verbose flag set
temporarily to _v_.  Return to the
original value when code is done.
Get / set the verbose flag controlling output from the FileUtils utilities . If verbose is true then the utility method is echoed to standard output . verbose # return the current value of the verbose flag verbose ( v ) # set the verbose flag to _v_ . verbose ( v ) { code } # Execute code with the verbose flag set temporarily to _v_ . Return to the original value when code is done .
def verbose(value=nil)
      oldvalue = FileUtilsExt.verbose_flag
      FileUtilsExt.verbose_flag = value unless value.nil?
      if block_given?
        begin
          yield
        ensure
          FileUtilsExt.verbose_flag = oldvalue
        end
      end
      FileUtilsExt.verbose_flag
    end
def verbose ( value = nil ) oldvalue = FileUtilsExt . verbose_flag FileUtilsExt . verbose_flag = value unless value . nil? if block_given? begin yield ensure FileUtilsExt . verbose_flag = oldvalue end end FileUtilsExt . verbose_flag end
Get/set the verbose flag controlling output from the FileUtils
utilities.
Get / set the verbose flag controlling output from the FileUtils utilities .
value