Class: BootstrapPager::Helpers::LastPage

Inherits:
Tag
  • Object
show all
Includes:
Link
Defined in:
lib/bootstrap_pager/helpers/tags.rb

Overview

Link with page number that appears at the rightmost

Instance Method Summary collapse

Methods included from Link

#to_s, #url

Methods inherited from Tag

#initialize, #page_url_for, #to_s

Constructor Details

This class inherits a constructor from BootstrapPager::Helpers::Tag

Instance Method Details

#pageObject

:nodoc:



73
74
75
# File 'lib/bootstrap_pager/helpers/tags.rb', line 73

def page #:nodoc:
  @options[:total_pages]
end