Skip to content

Commit

Permalink
Update README to reflect functionality changes from #200. close #324
Browse files Browse the repository at this point in the history
…[ci skip]
  • Loading branch information
batter committed Feb 6, 2014
1 parent 802b7d4 commit 6893431
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,9 @@ You can call `previous_version` and `next_version` on an item to get it as it wa
>> widget = live_widget.previous_version # => widget == live_widget.versions.last.reify
>> widget = widget.previous_version # => widget == live_widget.versions[-2].reify
>> widget = widget.next_version # => widget == live_widget.versions.last.reify
>> widget.next_version # nil
>> widget.next_version # live_widget
```

As an aside, I'm undecided about whether `widget.previous_version.next_version` should return `nil` or `self` (i.e. `widget`). Let me know if you have a view.

If instead you have a particular `version` of an item you can navigate to the previous and next versions.

```ruby
Expand Down

0 comments on commit 6893431

Please sign in to comment.