# File sparklines.rb, line 140 def Sparklines.plot_to_file(filename="sparklines.png", results=[], options={}) File.open( filename, 'wb' ) do |png| png << self.plot( results, options) end end