abstract class Pager::Presenter

Direct Known Subclasses

Defined in:

pager/presenter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(collection : Pager::Collection, path : String, pages : Int32 = Pager.visible_pages) #

[View source]

Instance Method Detail

def collection : Collection #

[View source]
def each_page(&) #

[View source]
def next_label #

[View source]
def pages : Int32 #

[View source]
def path : String #

[View source]
def previous_label #

[View source]
abstract def render #

[View source]