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


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

def filters
  @filters
end

Instance Method Details

#filter(*filters) ⇒ Object


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

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