Module: Csvbuilder::Export::Attributes
- Extended by:
- ActiveSupport::Concern
- Includes:
- AttributesBase
- Included in:
- Csvbuilder::Export
- Defined in:
- lib/csvbuilder/exporter/concerns/export/attributes.rb
Instance Method Summary collapse
Instance Method Details
#attribute_objects ⇒ Object
16 17 18 19 20 |
# File 'lib/csvbuilder/exporter/concerns/export/attributes.rb', line 16 def attribute_objects @attribute_objects ||= array_to_block_hash(self.class.column_names) do |column_name| Attribute.new(column_name, self) end end |