nowrite (RakeFileUtils)

          # File lib/rake.rb, line 1129
    1129:   def nowrite(value=nil)
    1130:     oldvalue = RakeFileUtils.nowrite_flag
    1131:     RakeFileUtils.nowrite_flag = value unless value.nil?
    1132:     if block_given?
    1133:       begin
    1134:         yield
    1135:       ensure
    1136:         RakeFileUtils.nowrite_flag = oldvalue
    1137:       end
    1138:     end
    1139:     oldvalue
    1140:   end