class Pager::ArrayCollection(T)

Defined in:

pager/collections/array.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Pager::Collection

any? : Bool
any?(&) : Bool
any?
, collection collection, current_page : Int32 current_page, each(&) each, empty? : Bool empty?, first? : Bool first?, last? : Bool last?, map(&) map, pages : Int32 pages, per_page : Int32 per_page, size size, to_a to_a, total_size : Int32 total_size

Constructor methods inherited from class Pager::Collection

new(current_page : Int32, per_page : Int32, total_size : Int32) new

Class methods inherited from class Pager::Collection

empty(per_page = Pager.per_page) empty

Constructor Detail

def self.new(array : Array(T), current_page, per_page) #

[View source]

Class Method Detail

def self.empty(per_page = Pager.per_page) #

[View source]

Instance Method Detail

def collection : Array(T) #

[View source]