class Exporter::CsvDocument
Public Instance Methods
to_file(path)
click to toggle source
# File lib/exporter/documents/csv_document.rb, line 3 def to_file(path) File.open(path, 'w') {|f| f.write(@data) } end