Module: Controll::Helper::Params::ClassMethods
- Defined in:
- lib/controll/helper/params.rb
Instance Method Summary collapse
Instance Method Details
#param_method(name, options = {}) ⇒ Object
14 15 16 |
# File 'lib/controll/helper/params.rb', line 14 def param_method name, = {} hash_access_method name, .merge(hash: :params) end |
#param_methods(*args) ⇒ Object
8 9 10 11 12 |
# File 'lib/controll/helper/params.rb', line 8 def param_methods *args = args. names = args hash_access_method *names, .merge(hash: :params) end |