Permalink
Browse files

support ruby 1.9!

  • Loading branch information...
1 parent c2bd987 commit 2b5e8afd45ec3a5d66e00c8793419dcc51ba2c9d @jugyo committed Jan 24, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/md5.rb
View
@@ -0,0 +1,6 @@
+require 'digest/md5'
+module MD5
+ def self.new(packet)
+ Digest::MD5.new.update packet
+ end
+end

0 comments on commit 2b5e8af

Please sign in to comment.