# File lib/rake/file_utils_ext.rb, line 107
107:     def when_writing(msg=nil)
108:       if FileUtilsExt.nowrite_flag
109:         $stderr.puts "DRYRUN: #{msg}" if msg
110:       else
111:         yield
112:       end
113:     end