will_paginate

https://github.com/mislav/will_paginate

Ruby

Pagination library for Rails, Sinatra, Merb, DataMapper, and more

WillPaginate::ViewHelpers::LinkRendererBase#pagination

No Docs, write some!

Source | Google | Stack overflow

Edit

$ git clone [email protected]:mislav/will_paginate.git
$ cd will_paginate
$ open lib/will_paginate/view_helpers/link_renderer_base.rb

Contribute

# Make a new branch
$ git checkout -b -your-name--update-docs-WillPaginate--ViewHelpers--LinkRendererBase-pagination-for-pr

# Commit to git
$ git add lib/will_paginate/view_helpers/link_renderer_base.rb
$ git commit -m "better docs for WillPaginate::ViewHelpers::LinkRendererBase#pagination"

# Open pull request
$ gem install hub # on a mac you can `brew install hub`
$ hub fork
$ git push <your name> -your-name--update-docs-WillPaginate--ViewHelpers--LinkRendererBase-pagination-for-pr
$ hub pull-request

# Celebrate!