Class: Datagrid::Filters::StringFilter
- Inherits:
-
BaseFilter
- Object
- BaseFilter
- Datagrid::Filters::StringFilter
- Includes:
- RangedFilter
- Defined in:
- lib/datagrid/filters/string_filter.rb
Instance Method Summary collapse
Methods included from RangedFilter
#default_filter_where, #initialize, #parse_values, #range?
Instance Method Details
#parse(value) ⇒ Object
5 6 7 |
# File 'lib/datagrid/filters/string_filter.rb', line 5 def parse(value) value.nil? ? nil : value.to_s end |