Method: Gruff::Base#write
- Defined in:
- lib/gruff/base.rb
#write(file_name = 'graph.png') ⇒ Object
Writes the graph to a file. Defaults to ‘graph.png’
543 544 545 |
# File 'lib/gruff/base.rb', line 543 def write(file_name = 'graph.png') to_image.write(file_name) end |