diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-26 06:15:57 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-26 06:15:57 +0000 |
commit | d94124b80f2e818b2267143e6b9d14f3ad60932a (patch) | |
tree | 3277011aed3310f90ce90403e1d9d0399273a72f | |
parent | 1d214f8087909eaa4b7f574202c28875bbb463cd (diff) | |
download | ruby-d94124b80f2e818b2267143e6b9d14f3ad60932a.tar.gz |
* ext/digest/digest.c (Init_digest): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/digest/digest.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Thu Oct 26 15:12:12 2006 NAKAMURA Usaku <usa@ruby-lang.org> + + * ext/digest/digest.c (Init_digest): typo. + Wed Oct 25 17:16:05 2006 Akinori MUSHA <knu@iDaemons.org> * test/digest/test_digest_hmac.rb: added. diff --git a/ext/digest/digest.c b/ext/digest/digest.c index 4a5245f911..5d58149b50 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); |