Class: JekyllIndexPages::Pagination::Pager
- Inherits:
-
Struct
- Object
- Struct
- JekyllIndexPages::Pagination::Pager
- Defined in:
- lib/jekyll-index-pages/pagination.rb
Instance Attribute Summary collapse
-
#current_page ⇒ Object
Returns the value of attribute current_page.
-
#docs ⇒ Object
Returns the value of attribute docs.
-
#next_page ⇒ Object
Returns the value of attribute next_page.
-
#prev_page ⇒ Object
Returns the value of attribute prev_page.
-
#total_pages ⇒ Object
Returns the value of attribute total_pages.
Instance Attribute Details
#current_page ⇒ Object
Returns the value of attribute current_page
3 4 5 |
# File 'lib/jekyll-index-pages/pagination.rb', line 3 def current_page @current_page end |
#docs ⇒ Object
Returns the value of attribute docs
3 4 5 |
# File 'lib/jekyll-index-pages/pagination.rb', line 3 def docs @docs end |
#next_page ⇒ Object
Returns the value of attribute next_page
3 4 5 |
# File 'lib/jekyll-index-pages/pagination.rb', line 3 def next_page @next_page end |
#prev_page ⇒ Object
Returns the value of attribute prev_page
3 4 5 |
# File 'lib/jekyll-index-pages/pagination.rb', line 3 def prev_page @prev_page end |
#total_pages ⇒ Object
Returns the value of attribute total_pages
3 4 5 |
# File 'lib/jekyll-index-pages/pagination.rb', line 3 def total_pages @total_pages end |