will_paginate
https://github.com/mislav/will_paginate
Ruby
Pagination library for Rails and other Ruby applications
WillPaginate::ViewHelpers::LinkRenderer#container_attributes
Returns the subset of +options+ this instance was initialized with that represent HTML attributes for the container element of pagination links.
Edit
git clone [email protected]:mislav/will_paginate.git
cd will_paginate
open lib/will_paginate/view_helpers/link_renderer.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-WillPaginate--ViewHelpers--LinkRenderer-container_attributes-for-pr
# Commit to gitgit add lib/will_paginate/view_helpers/link_renderer.rbgit commit -m "better docs for WillPaginate::ViewHelpers::LinkRenderer#container_attributes"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-WillPaginate--ViewHelpers--LinkRenderer-container_attributes-for-pr
hub pull-request
# Celebrate!