method

pagination_links_each

pagination_links_each(paginator, options)
public

Iterate through the pages of a given paginator, invoking a block for each page number that needs to be rendered as a link.