Class: Kaminari::Helpers::CurrentPage

Inherits:
Tag
  • Object
show all
Includes:
NonLink, Page
Defined in:
lib/kaminari/helpers/tags.rb

Overview

Non-link tag showing the current page number

Instance Method Summary collapse

Methods included from Renderable

included

Methods included from Page

#to_s

Methods inherited from Tag

#initialize, #to_s

Constructor Details

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

Instance Method Details

#pageObject

:nodoc:



245
246
247
# File 'lib/kaminari/helpers/tags.rb', line 245

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