Module: FileUtils::NoWrite

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



44
45
46
47
# File 'lib/standard/facets/fileutils/stage.rb', line 44

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

Instance Method Details

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



44
45
46
47
# File 'lib/standard/facets/fileutils/stage.rb', line 44

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