1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* object.c: format comments to keep 80 columns in a line.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2011-05-12 12:18:47 +00:00
parent 4902517f99
commit 9fac3321a7

View file

@ -97,14 +97,15 @@ rb_obj_equal(VALUE obj1, VALUE obj2)
return Qfalse;
}
/*
* Generates a <code>Fixnum</code> hash value for this object. This function must have the
* property that a.eql?(b) implies a.hash <code>==</code> b.hash. The hash value is used by
* class <code>Hash</code>. Any hash value that exceeds the capacity of a <code>Fixnum</code> will be
/*
* Generates a <code>Fixnum</code> hash value for this object.
* This function must have the property that a.eql?(b) implies
* a.hash <code>==</code> b.hash.
* The hash value is used by class <code>Hash</code>.
* Any hash value that exceeds the capacity of a <code>Fixnum</code> will be
* truncated before being used.
*
* "waffle" #=> "waffle"
* "waffle".hash #=> -910576647
* "waffle".hash #=> -910576647
*/
VALUE
rb_obj_hash(VALUE obj)