Module: MKIt::ParamsHelper
- Defined in:
- lib/mkit/app/helpers/params_helper.rb
Instance Method Summary collapse
Instance Method Details
#build_options_hash(params:, options:) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/mkit/app/helpers/params_helper.rb', line 6 def (params:, options:) hash = {} .each do |option| hash[option] = params[option] end hash end |