Class: Headmin::Filter::NumberView
- Inherits:
-
FilterView
- Object
- ViewModel
- FilterView
- Headmin::Filter::NumberView
- Defined in:
- app/models/headmin/filter/number_view.rb
Instance Method Summary collapse
Methods inherited from FilterView
#association_model, #attribute, #label, #reflection
Methods inherited from ViewModel
#attributes, #initialize, #to_hash
Constructor Details
This class inherits a constructor from ViewModel
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ViewModel
Instance Method Details
#base_options ⇒ Object
4 5 6 7 8 |
# File 'app/models/headmin/filter/number_view.rb', line 4 def keys = %i[name label form] = to_h.slice(*keys) .merge() end |
#input_options ⇒ Object
10 11 12 13 14 |
# File 'app/models/headmin/filter/number_view.rb', line 10 def keys = %i[form] = to_h.slice(*keys) .merge() end |