Class: Kaminari::Helpers::Page
- Includes:
- Link
- 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 Link
Methods inherited from Tag
Constructor Details
This class inherits a constructor from Kaminari::Helpers::Tag
Instance Method Details
#page ⇒ Object
target page number
93 94 95 |
# File 'lib/kaminari/helpers/tags.rb', line 93 def page @options[:page] end |
#to_s(locals = {}) ⇒ Object
:nodoc:
96 97 98 99 |
# File 'lib/kaminari/helpers/tags.rb', line 96 def to_s(locals = {}) #:nodoc: locals[:page] = page super locals end |