summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-24 07:19:34 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-07-24 07:19:34 +0000
commita4fe713cb199934e8b7870850c50fcc24fb5685f (patch)
tree7d0763676e49c49f8b06b2a74042d7530f71a1e0 /ext
parentc9accd03e721f1455ccdf3f09f5251d6b93c1b4b (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/md5/md5init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/md5/md5init.c b/ext/md5/md5init.c
index f3dafed..a57d5f8 100644
--- a/ext/md5/md5init.c
+++ b/ext/md5/md5init.c
@@ -105,6 +105,7 @@ Init_md5()
cMD5 = rb_define_class("MD5", rb_cObject);
rb_define_singleton_method(cMD5, "new", md5_new, -1);
+ rb_define_singleton_method(cMD5, "md5", md5_new, -1);
rb_define_method(cMD5, "update", md5_update, 1);
rb_define_method(cMD5, "digest", md5_digest, 0);