class

Sitemapper::Paginator

Inherits Reference < Object

Constants

DEFAULT_LIMIT = 500

Constructors

new(limit : Int32 = DEFAULT_LIMIT)
Source

Instance methods

add(path : String, options : SitemapOptions)
Source
items(current_page : Int32)
Source
paths
Source
total_pages

This is calculated each time since you could get 1 the first time, then add to it and get 2 the second

Source