Class: ActiveFilter::FloatField
- Inherits:
-
IntegerField
- Object
- Field
- IntegerField
- ActiveFilter::FloatField
- Defined in:
- lib/active_filter/field.rb
Instance Attribute Summary
Attributes inherited from Field
Instance Method Summary collapse
Methods inherited from IntegerField
Methods inherited from Field
#filter, #initialize, #lookup_type
Constructor Details
This class inherits a constructor from ActiveFilter::Field
Instance Method Details
#convert_value(value) ⇒ Object
59 60 61 |
# File 'lib/active_filter/field.rb', line 59 def convert_value(value) value.to_f end |