Class: RKit::Pagination::Base::Page
- Defined in:
- lib/r_kit/pagination/base/page.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
Returns the value of attribute base.
-
#page ⇒ Object
Returns the value of attribute page.
Instance Method Summary collapse
-
#initialize(base, page: page) ⇒ Page
constructor
A new instance of Page.
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 |