Module: Vident::Internals::AttributeWriter
- Defined in:
- lib/vident/internals/attribute_writer.rb
Class Method Summary collapse
Class Method Details
.call(plan) ⇒ Object
10 11 12 13 14 |
# File 'lib/vident/internals/attribute_writer.rb', line 10 def call(plan) Registry::KINDS.reduce({}) do |acc, kind| acc.merge(kind.value_class.to_data_hash(plan.public_send(kind.name))) end end |