Class: Csvbuilder::Export::DynamicColumnAttribute
- Inherits:
-
DynamicColumnAttributeBase
- Object
- DynamicColumnAttributeBase
- Csvbuilder::Export::DynamicColumnAttribute
- Defined in:
- lib/csvbuilder/dynamic/columns/exporter/internal/export/dynamic_column_attribute.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.define_process_cell(row_model_class, column_name) ⇒ Object
17 18 19 |
# File 'lib/csvbuilder/dynamic/columns/exporter/internal/export/dynamic_column_attribute.rb', line 17 def define_process_cell(row_model_class, column_name) super { |header_model| header_model } end |
Instance Method Details
#source_cells ⇒ Object
12 13 14 |
# File 'lib/csvbuilder/dynamic/columns/exporter/internal/export/dynamic_column_attribute.rb', line 12 def source_cells header_models.map { |header_model| call_process_cell(header_model) } end |
#unformatted_value ⇒ Object
8 9 10 |
# File 'lib/csvbuilder/dynamic/columns/exporter/internal/export/dynamic_column_attribute.rb', line 8 def unformatted_value source_cells end |