Module: Pagy::Search
- Defined in:
- lib/pagy/classes/offset/search.rb
Defined Under Namespace
Classes: Arguments
Instance Method Summary collapse
-
#pagy_search(term = nil, **options, &block) ⇒ Object
Collect the search arguments to pass to the actual search.
Instance Method Details
#pagy_search(term = nil, **options, &block) ⇒ Object
Collect the search arguments to pass to the actual search
12 13 14 |
# File 'lib/pagy/classes/offset/search.rb', line 12 def pagy_search(term = nil, **, &block) Arguments.new([self, term, , block]) end |