@ -47,7 +47,13 @@ module XlsExport
end
# Forwards to column_values by default
# but allows for extensions
def row(object)
column_values(object)
def column_values(object)
columns.collect do |column|
format_attribute(object, column[:name])