Module: FileUtils::DryRun

Defined in:
lib/standard/facets/fileutils/stage.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.stage(stage_directory, files, options = {}) ⇒ Object



60
61
62
63
# File 'lib/standard/facets/fileutils/stage.rb', line 60

def stage(stage_directory, files, options={})
  options[:dryrun] = true
  FileUtils.stage(stage_directory, files, options={})
end

Instance Method Details

#stage(stage_directory, files, options = {}) ⇒ Object (private)



60
61
62
63
# File 'lib/standard/facets/fileutils/stage.rb', line 60

def stage(stage_directory, files, options={})
  options[:dryrun] = true
  FileUtils.stage(stage_directory, files, options={})
end