class Sitemapper::Paginator
- Sitemapper::Paginator
- Reference
- Object
Defined in:
sitemapper/paginator.crConstant Summary
-
DEFAULT_LIMIT =
500
Constructors
Instance Method Summary
- #add(path : String, options : SitemapOptions)
- #items(current_page : Int32)
- #paths : Array(Tuple(String, SitemapOptions))
- #paths=(paths : Array(Tuple(String, SitemapOptions)))
-
#total_pages : Int32
This is calculated each time since you could get 1 the first time, then add to it and get 2 the second
Constructor Detail
Instance Method Detail
def total_pages : Int32
#
This is calculated each time since you could get 1 the first time, then add to it and get 2 the second