aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/lib/openssl/digest.rb
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-13 08:15:48 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-13 08:15:48 +0000
commit33b63fcf93d2116e9e9aa9b4fd9ef91bcaad9b05 (patch)
tree02404f3dc46c5ab276c34dbc0995fe5261e47dbe /ext/openssl/lib/openssl/digest.rb
parent2019f34bc9c9230f4c74febb5e4fa5200fb7cdd6 (diff)
downloadruby-33b63fcf93d2116e9e9aa9b4fd9ef91bcaad9b05.tar.gz
* ext/openssl/lib/openssl/*.rb: [DOC] Document the following:
- Integer#to_bn - OpenSSL::Buffering module - Document deprecated OpenSSL::Digest::Digest compatibility class - OpenSSL::Config These changes were based on a patch by @vbatts via GH-436 https://github.com/ruby/ruby/pull/436 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl/lib/openssl/digest.rb')
-rw-r--r--ext/openssl/lib/openssl/digest.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/openssl/lib/openssl/digest.rb b/ext/openssl/lib/openssl/digest.rb
index f2a47bfdf9..80b58af5da 100644
--- a/ext/openssl/lib/openssl/digest.rb
+++ b/ext/openssl/lib/openssl/digest.rb
@@ -59,8 +59,13 @@ module OpenSSL
const_set(name, klass)
}
- # This class is only provided for backwards compatibility. Use OpenSSL::Digest in the future.
- class Digest < Digest
+ # This class is only provided for backwards compatibility.
+ #
+ # Use OpenSSL::Digest in the future.
+ class Digest < Digest # :nodoc:
+ # Deprecated.
+ #
+ # See OpenSSL::Digest.new
def initialize(*args)
# add warning
super(*args)