Class: Datagrid::Filters::DefaultFilter

Inherits:
BaseFilter
  • Object
show all
Defined in:
lib/datagrid/filters/default_filter.rb

Instance Attribute Summary

Attributes inherited from BaseFilter

#block, #grid_class, #name, #options

Instance Method Summary collapse

Methods inherited from BaseFilter

#allow_blank?, #allow_nil?, #apply, #default, #default_filter_block, #dummy?, #enabled?, form_builder_helper_name, #form_builder_helper_name, #format, #header, #initialize, #multiple?, #parse_values, #separator, #supports_range?, #type, #unapplicable_value?

Constructor Details

This class inherits a constructor from Datagrid::Filters::BaseFilter

Instance Method Details

#parse(value) ⇒ Object



2
3
4
# File 'lib/datagrid/filters/default_filter.rb', line 2

def parse(value)
  value
end