summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-26 06:22:21 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-26 06:22:21 +0000
commit6ed0a10eebf11b40cabf17dc8f57018c5fdd6567 (patch)
tree7a4bf030cda41bc8479532b9bd5df019bc7094bd /ext
parent65ff59d7b0417337f858f045cee1d5c52c55fcf3 (diff)
* ext/digest/digest.c (Init_digest): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/digest/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index 4a5245f..5d58149 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -608,7 +608,7 @@ Init_digest(void)
rb_define_method(rb_mDigest_Instance, "digest!", rb_digest_instance_digest_bang, 0);
rb_define_method(rb_mDigest_Instance, "hexdigest", rb_digest_instance_hexdigest, -1);
rb_define_method(rb_mDigest_Instance, "hexdigest!", rb_digest_instance_hexdigest_bang, 0);
- rb_define_method(rb_mDigest_Instance, "to_s", rb_digest_instance_hexdigest, 0);
+ rb_define_method(rb_mDigest_Instance, "to_s", rb_digest_instance_to_s, 0);
rb_define_method(rb_mDigest_Instance, "length", rb_digest_instance_length, 0);
rb_define_method(rb_mDigest_Instance, "size", rb_digest_instance_length, 0);