0001-Adding-documentation-for-FileUtils.patch

Bil Kleb, 05/21/2011 10:51 AM

Download (838 Bytes)

View differences:

lib/fileutils.rb
115 115
  #
116 116
  #   FileUtils.cd('/', :verbose => true)   # chdir and report it
117 117
  #
118
  #   FileUtils.cd('/') do  # chdir
119
  #     [...]               # do something
120
  #   end                   # return to original directory
121
  #   
118 122
  def cd(dir, options = {}, &block) # :yield: dir
119 123
    fu_check_options options, OPT_TABLE['cd']
120 124
    fu_output_message "cd #{dir}" if options[:verbose]
121
-