Class: Csvbuilder::Export::Attribute

Inherits:
AttributeBase
  • Object
show all
Defined in:
lib/csvbuilder/exporter/internal/export/attribute.rb

Instance Method Summary collapse

Instance Method Details

#source_valueObject



12
13
14
# File 'lib/csvbuilder/exporter/internal/export/attribute.rb', line 12

def source_value
  row_model.public_send(column_name)
end

#valueObject



8
9
10
# File 'lib/csvbuilder/exporter/internal/export/attribute.rb', line 8

def value
  formatted_value
end