method
new
v1.1.6 -
Show latest stable
- Class:
ActionController::Pagination::Paginator::Page
new(paginator, number)public
Creates a new Page for the given paginator with the index number. If number is not in the range of valid page numbers or is not a number at all, it defaults to 1.