class RKit::Pagination::Base::Page

Attributes

base[RW]
page[RW]

Public Class Methods

new(base, page: page) click to toggle source
# File lib/r_kit/pagination/base/page.rb, line 5
def initialize base, page: page
  @base = base
  @page = page
end

Public Instance Methods

page_tag(name = page) click to toggle source
# File lib/r_kit/pagination/base/page.rb, line 21
def page_tag name = page
  link_to_page name
end