Module: Ext::Extra
- Extended by:
- ActiveSupport::Concern
- Defined in:
- app/models/com/ext/extra.rb
Instance Method Summary collapse
Instance Method Details
#form_extra ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'app/models/com/ext/extra.rb', line 10 def form_extra r = {} extra.each do |k, v| r.merge! k => v.send(DefaultForm.config.mapping.dig(taxon.parameters[k].to_sym, :output)) end RailsCom::Setting.new(r) end |