Skip to content

Commit

Permalink
* compar.c: Update doc for == [ruby#7688] [ci-skip]
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
marcandre committed Dec 15, 2015
1 parent e337dc6 commit bb9ef64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ with all sufficient information, see the ChangeLog file.
* Array#bsearch_index [Feature #10730]
* Array#dig [Feature #11643]

* Comparable

* Comparable#== no longer rescues exceptions [Feature #7688]

* Enumerable

* Enumerable#grep_v is added as inverse version of Enumerable#grep.
Expand Down
3 changes: 0 additions & 3 deletions compar.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ cmp_eq_recursive(VALUE arg1, VALUE arg2, int recursive)
* Compares two objects based on the receiver's <code><=></code>
* method, returning true if it returns 0. Also returns true if
* _obj_ and _other_ are the same object.
*
* Even if _obj_ <=> _other_ raised an exception, the exception
* is ignored and returns false.
*/

static VALUE
Expand Down

0 comments on commit bb9ef64

Please sign in to comment.