summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-12 12:18:47 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-12 12:18:47 +0000
commit9fac3321a7207552f2717bed4193a8c3bdd31234 (patch)
treee38603c9a89dae6cff7bf3a4a3b10fd82f79d657 /object.c
parent4902517f9900c258ef74db55521edde1cb8d8684 (diff)
* 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
Diffstat (limited to 'object.c')
-rw-r--r--object.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/object.c b/object.c
index f4a28fd259..5e19eb30f1 100644
--- a/object.c
+++ b/object.c
@@ -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)