[ruby/openssl] [DOC] Remove repeated example from Digest

https://github.com/ruby/openssl/commit/5a36cc3cb2
This commit is contained in:
Mau Magnaguagno 2022-12-27 03:22:33 -03:00 committed by Hiroshi SHIBATA
parent fe7d4eed25
commit 5b67c15cd8
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -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)