# File lib/sugar-high/file.rb, line 27 def self.overwrite path, content=nil, &block File.open(path, 'w') do |f| f.puts content ||= yield end end