diff options
author | knu <knu@ruby-lang.org> | 2010-02-23 15:56:45 +0000 |
---|---|---|
committer | knu <knu@ruby-lang.org> | 2010-02-23 15:56:45 +0000 |
commit | 12b9e87778ab8739071cdbad81c81c50735051cc (patch) | |
tree | 9b59959ed4a919ead114ba17d8f9764736267b2f /lib | |
parent | e7ddce938dcba6c766c85ce86324fa22212ec9f3 (diff) | |
download | ruby-openssl-history-12b9e87778ab8739071cdbad81c81c50735051cc.tar.gz |
* ext/openssl/lib/openssl/digest.rb (OpenSSL::Digest::hexdigest):
No need to define hexdigest() here because the super method is
properly defined to use digest() passing through arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openssl/digest.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/openssl/digest.rb b/lib/openssl/digest.rb index e603c41..7da80f2 100644 --- a/lib/openssl/digest.rb +++ b/lib/openssl/digest.rb @@ -43,7 +43,6 @@ module OpenSSL singleton = (class << klass; self; end) singleton.class_eval{ define_method(:digest){|data| Digest.digest(name, data) } - define_method(:hexdigest){|data| Digest.hexdigest(name, data) } } const_set(name, klass) } |