[ruby/openssl] [DOC] Remove repeated example from Digest
https://github.com/ruby/openssl/commit/5a36cc3cb2
This commit is contained in:
parent
fe7d4eed25
commit
5b67c15cd8
@ -18,13 +18,9 @@ module OpenSSL
|
||||
# Return the hash value computed with _name_ Digest. _name_ is either the
|
||||
# long name or short name of a supported digest algorithm.
|
||||
#
|
||||
# === Examples
|
||||
# === Example
|
||||
#
|
||||
# OpenSSL::Digest.digest("SHA256", "abc")
|
||||
#
|
||||
# which is equivalent to:
|
||||
#
|
||||
# OpenSSL::Digest.digest('SHA256', "abc")
|
||||
|
||||
def self.digest(name, data)
|
||||
super(data, name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user