Class: BootstrapPager::Helpers::PrevPage
- Includes:
- Link
- Defined in:
- lib/bootstrap_pager/helpers/tags.rb
Overview
The “previous” page of the current page
Instance Method Summary collapse
-
#page ⇒ Object
:nodoc:.
Methods included from Link
Methods inherited from Tag
#initialize, #page_url_for, #to_s
Constructor Details
This class inherits a constructor from BootstrapPager::Helpers::Tag
Instance Method Details
#page ⇒ Object
:nodoc:
81 82 83 |
# File 'lib/bootstrap_pager/helpers/tags.rb', line 81 def page #:nodoc: @options[:current_page] - 1 end |