Class: RKit::Pagination::Base::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/r_kit/pagination/base/page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base, page: page) ⇒ Page

Returns a new instance of Page.



5
6
7
8
# File 'lib/r_kit/pagination/base/page.rb', line 5

def initialize base, page: page
  @base = base
  @page = page
end

Instance Attribute Details

#baseObject

Returns the value of attribute base.



3
4
5
# File 'lib/r_kit/pagination/base/page.rb', line 3

def base
  @base
end

#pageObject

Returns the value of attribute page.



3
4
5
# File 'lib/r_kit/pagination/base/page.rb', line 3

def page
  @page
end