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