The PaginationScope
library is a pagination library of the NamedScope era.
The difference to the last version is only a small bug fix.
So you can keep using it if you don't mind.
That's all. But I shall use this opportunity to write some document for the helper method of the library.
SYNOPSIS:
pre>>
paginate
<<--
The scope is a pagination scope object.
The options is a hash including several parameters as follows.
:newerThe label string for the link to a newer page.:olderThe label string for the link to an older page.:leftThe number of pages which appears on the left side.:rightThe number of pages which appears on the right side.:windowThe width of pages which surrounds the current page.
posted by
takiuchi on Wed 20 Aug 2008 at 02:17 with 0 comments