New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added previous and next methods #17

Open
wants to merge 3 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@JoshMcguigan
Contributor

JoshMcguigan commented Dec 13, 2018

I needed next/previous methods to solve a problem of my own, so I wanted to open a PR to share. Let me know if you are interested in merging this and I can add some docs to these functions.

Also, some of the code duplication can be factored out (and there is even some logic which is similar to the existing get method) so I could take a look at that as well. I just wanted to keep the first commit small and simple.

JoshMcguigan added some commits Dec 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment