Class: JekyllIndexPages::Pagination::Pager

Inherits:
Struct
  • Object
show all
Defined in:
lib/jekyll-index-pages/pagination.rb

Instance Attribute Summary collapse

Instance Attribute Details

#current_pageObject

Returns the value of attribute current_page

Returns:

  • (Object)

    the current value of current_page



3
4
5
# File 'lib/jekyll-index-pages/pagination.rb', line 3

def current_page
  @current_page
end

#docsObject

Returns the value of attribute docs

Returns:

  • (Object)

    the current value of docs



3
4
5
# File 'lib/jekyll-index-pages/pagination.rb', line 3

def docs
  @docs
end

#next_pageObject

Returns the value of attribute next_page

Returns:

  • (Object)

    the current value of next_page



3
4
5
# File 'lib/jekyll-index-pages/pagination.rb', line 3

def next_page
  @next_page
end

#prev_pageObject

Returns the value of attribute prev_page

Returns:

  • (Object)

    the current value of prev_page



3
4
5
# File 'lib/jekyll-index-pages/pagination.rb', line 3

def prev_page
  @prev_page
end

#total_pagesObject

Returns the value of attribute total_pages

Returns:

  • (Object)

    the current value of total_pages



3
4
5
# File 'lib/jekyll-index-pages/pagination.rb', line 3

def total_pages
  @total_pages
end