lib/sugar-high/file.rb in sugar-high-0.3.0 vs lib/sugar-high/file.rb in sugar-high-0.3.1

- old
+ new

@@ -29,10 +29,10 @@ f.puts content ||= yield end end def self.append path, content=nil, &block - File.open(path, 'w+') do |f| + File.open(path, 'a') do |f| f.puts content ||= yield end end def self.remove_from file_name, content=nil, &block