Class WillPaginate::ViewHelpers::LinkRendererBase
In: lib/will_paginate/view_helpers/link_renderer_base.rb
Parent: Object

This class does the heavy lifting of actually building the pagination links. It is used by will_paginate helper internally.

Methods

Public Instance methods

  • collection is a WillPaginate::Collection instance or any other object that conforms to that API
  • options are forwarded from will_paginate view helper

Protected Instance methods

Calculates visible page numbers using the :inner_window and :outer_window options.

[Validate]