Module: ActiveAdmin::Inputs::Filters::Base::SearchMethodSelect::ClassMethods

Defined in:
lib/active_admin/inputs/filters/base/search_method_select.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#filtersObject (readonly)

Returns the value of attribute filters.



26
27
28
# File 'lib/active_admin/inputs/filters/base/search_method_select.rb', line 26

def filters
  @filters
end

Instance Method Details

#filter(*filters) ⇒ Object



28
29
30
# File 'lib/active_admin/inputs/filters/base/search_method_select.rb', line 28

def filter(*filters)
  (@filters ||= []).push *filters
end