FileUtils noop?

http://ruby-doc.org/core/classes/FileUtils.html#M004315

states that some methods can accept a :noop flag

Any guesses why this would ever be useful?

-r

On Dec 3, 1:50 pm, Roger P. [email protected] wrote:

http://ruby-doc.org/core/classes/FileUtils.html#M004315

states that some methods can accept a :noop flag

Any guesses why this would ever be useful?

For a dry-run. Like creating a directory, copying files but actually
not doing anything, just the output of the actions but not the
consequences.