⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (432 Bytes)
Bug #7790
» patch_Comparable.txt
metanest (Makoto Kishimoto)
, 02/06/2013 02:11 PM
diff --git a/compar.c b/compar.c
index 65def78..7615bde 100644
--- a/compar.c
+++ b/compar.c
@@ -54,6 +54,9 @@ cmp_failed(void)
* 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 ignoread and returns false.
*/
static VALUE
« Previous
1
2
Next »
(2-2/2)
Loading...