Module: Uchi::Pagy::Console
- Includes:
- Method
- Defined in:
- lib/uchi/pagy/modules/console.rb
Overview
Provide a ready to use pagy environment when included in irb/rails console
Defined Under Namespace
Classes: Collection, Request
Instance Method Summary collapse
- #collection ⇒ Object
-
#params ⇒ Object
Direct reference to request.params via a method.
- #request ⇒ Object
Instance Method Details
#collection ⇒ Object
37 |
# File 'lib/uchi/pagy/modules/console.rb', line 37 def collection = Collection |
#params ⇒ Object
Direct reference to request.params via a method
35 |
# File 'lib/uchi/pagy/modules/console.rb', line 35 def params = request.params |
#request ⇒ Object
36 |
# File 'lib/uchi/pagy/modules/console.rb', line 36 def request = @request ||= Request.new |