Module: Kaminari::Helpers::Page
- Includes:
- Renderable
- Included in:
- CurrentPage, Link, PageLink
- Defined in:
- lib/kaminari/helpers/tags.rb
Overview
A page
Instance Method Summary collapse
-
#page ⇒ Object
target page number.
-
#to_s(locals = {}) ⇒ Object
:nodoc:.
Methods included from Renderable
Instance Method Details
#page ⇒ Object
target page number
166 167 168 |
# File 'lib/kaminari/helpers/tags.rb', line 166 def page raise 'Override page with the actual page value to be a Page.' end |
#to_s(locals = {}) ⇒ Object
:nodoc:
169 170 171 |
# File 'lib/kaminari/helpers/tags.rb', line 169 def to_s(locals = {}) #:nodoc: super locals.merge(:page => page) end |