© 2018 Domizio DemichelisMIT License


Gem Version

The whole core structure of Pagy is very simple: it is organized around 3 small modules of just ~100 lines of code in total:

Module Description Links
Pagy The small class that keeps track of the variables involved in the pagination source, documentation
Pagy::Backend The optional module that you can include in your controllers in order to automatically create the Pagy instance source, documentation
Pagy::Frontend The module to include in your views in order to get a few helpers for the HTML output source, documentation

However, besides these files, you can explicitly require optional extras that can handle special features, collections or environments.

See also: Global Configuration