Flowdock
method

<=>

Importance_1
v1.0.0 - Show latest stable - 0 notes - Class: ActionController::Pagination::Paginator::Page
<=>(page) public

Compares two Page objects and returns -1 if the left-hand page comes before the right-hand page, 0 if the pages are equal, and 1 if the left-hand page comes after the right-hand page. Raises ArgumentError if the pages do not belong to the same Paginator object.

Show source
Register or log in to add new notes.