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