Module: Potter::CSV
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#to_csv ⇒ Object
13 14 15 |
# File 'lib/potter/csv.rb', line 13 def to_csv Row.new(attributes.keys, attributes.values.map(&:presence)) end |