struct ViewHelpers::Paginator
- ViewHelpers::Paginator
- Struct
- Value
- Object
Defined in:
view_helpers/view_helpers.crConstructors
Instance Method Summary
- #clone
- #copy_with(current_page _current_page = @current_page, per_page _per_page = @per_page, total_count _total_count = @total_count, link _link = @link)
- #current_page : Int32
- #link : String
- #per_page : Int32
-
#to_s(__io__ : IO) : Nil
Same as
#inspect(io)
. - #total_count : Int64
Constructor Detail
def self.new(current_page : Int32, per_page : Int32, total_count : Int64, link : String)
#
Instance Method Detail
def copy_with(current_page _current_page = @current_page, per_page _per_page = @per_page, total_count _total_count = @total_count, link _link = @link)
#