From 70360efac388686eb848b5bfbbb3be7a755451c6 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 22 Sep 2006 08:36:02 +0000 Subject: * hash.c (rb_hash_eql): new method to be used by Hash. * hash.c (rb_hash_hash): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index aef9037488..89742b2ca9 100644 --- a/object.c +++ b/object.c @@ -76,13 +76,13 @@ rb_eql(VALUE obj1, VALUE obj2) * object as b). * * The eql? method returns true if - obj and anObject have the - * same value. Used by Hash to test members for equality. - * For objects of class Object, eql? is - * synonymous with ==. Subclasses normally continue this - * tradition, but there are exceptions. Numeric types, for - * example, perform type conversion across ==, but not - * across eql?, so: + * obj and anObject have the same value. Used by + * Hash to test members for equality. For objects of + * class Object, eql? is synonymous with + * ==. Subclasses normally continue this tradition, but + * there are exceptions. Numeric types, for example, + * perform type conversion across ==, but not across + * eql?, so: * * 1 == 1.0 #=> true * 1.eql? 1.0 #=> false -- cgit v1.2.3