# Array Extra


Paginate arrays efficiently.

# Synopsis

pagy.rb (initializer)
require 'pagy/extras/array'
@pagy, @items = pagy_array(an_array, **vars)

# Files

# Methods

This method is the same as the generic pagy method, but specialized for an Array. (see the pagy doc)

This sub-method is the same as the pagy_get_vars sub-method, but it is called only by the pagy_array method. (see the pagy_get_vars doc).