abstract class Pager::Collection

Direct Known Subclasses

Defined in:

pager/collection.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(current_page : Int32, per_page : Int32, total_size : Int32) #

[View source]

Class Method Detail

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

[View source]

Instance Method Detail

def any? : Bool #

[View source]
def any?(&) : Bool #

[View source]
abstract def collection #

[View source]
def current_page : Int32 #

[View source]
def each(&) #

[View source]
def empty? : Bool #

[View source]
def first? : Bool #

[View source]
def last? : Bool #

[View source]
def map(&) #

[View source]
def pages : Int32 #

[View source]
def per_page : Int32 #

[View source]
def size #

[View source]
def to_a #

[View source]
def total_size : Int32 #

[View source]