struct ViewHelpers::Paginator

Defined in:

view_helpers/view_helpers.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(current_page : Int32, per_page : Int32, total_count : Int64, link : String) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(current_page _current_page = @current_page, per_page _per_page = @per_page, total_count _total_count = @total_count, link _link = @link) #

[View source]
def current_page : Int32 #

def link : String #

def per_page : Int32 #

def to_s(__io__ : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def total_count : Int64 #