class Para::Exporter::Table
Public Instance Methods
Source
# File lib/para/exporter/table.rb, line 10 def headers fields.map do |field| encode(model.human_attribute_name(field)) end end
Source
# File lib/para/exporter/table.rb, line 16 def row_for(resource) fields.map do |field| encode(resource.send(field)) end end