lib/core/facets/file/rewrite.rb in facets-2.4.5 vs lib/core/facets/file/rewrite.rb in facets-2.5.0

- old
+ new

@@ -21,10 +21,10 @@ # # IMPORTANT: The old version of this method required in place modification # of the file string. The new version will write whatever the block # returns instead!!! # - # CREDIT: George Moschovitis + # CREDIT: George Moschovitis # def self.rewrite(name, mode = "") #:yield: unless block_given? raise(ArgumentError, "Need to supply block to File.rewrite") end