Class: Kaminari::Helpers::NextLink

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

Overview

“Next” with link

Instance Method Summary collapse

Methods included from Renderable

included

Methods included from Link

#to_s, #url

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:



227
228
229
# File 'lib/kaminari/helpers/tags.rb', line 227

def page #:nodoc:
  @options[:current_page] + 1
end