Skip to content

adding lower/higher items methods#19

Merged
pyromaniac merged 1 commit intomongoid:masterfrom
jeremylynch:master
Dec 24, 2013
Merged

adding lower/higher items methods#19
pyromaniac merged 1 commit intomongoid:masterfrom
jeremylynch:master

Conversation

@jeremylynch
Copy link
Copy Markdown
Contributor

This will add two methods:

item.higher_items # return a collection of items higher on the list
item.lower_items # return a collection of items lower on the list

Passing tests have been added and the readme has been updated to describe these two new methods.

pyromaniac added a commit that referenced this pull request Dec 24, 2013
adding lower/higher items methods
@pyromaniac pyromaniac merged commit ebefe8b into mongoid:master Dec 24, 2013
@pyromaniac
Copy link
Copy Markdown
Collaborator

Awesome, thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants