# File lib/rake.rb, line 867 867: def when_writing(msg=nil) 868: if RakeFileUtils.nowrite_flag 869: puts "DRYRUN: #{msg}" if msg 870: else 871: yield 872: end 873: end