From c68e46f089626329031c2ca75e7868277d58cee6 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Thu, 23 Feb 2017 23:57:22 +0900 Subject: Fix RDoc markup Ruby core uses _str_ for emphasizing argument names and +str+ for codes. Match with the rule for better rendering. --- ext/openssl/ossl_digest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/openssl/ossl_digest.c') diff --git a/ext/openssl/ossl_digest.c b/ext/openssl/ossl_digest.c index fdafda00..b93fe91c 100644 --- a/ext/openssl/ossl_digest.c +++ b/ext/openssl/ossl_digest.c @@ -106,15 +106,15 @@ VALUE ossl_digest_update(VALUE, VALUE); * call-seq: * Digest.new(string [, data]) -> Digest * - * Creates a Digest instance based on +string+, which is either the ln + * Creates a Digest instance based on _string_, which is either the ln * (long name) or sn (short name) of a supported digest algorithm. * - * If +data+ (a +String+) is given, it is used as the initial input to the + * If _data_ (a String) is given, it is used as the initial input to the * Digest instance, i.e. * * digest = OpenSSL::Digest.new('sha256', 'digestdata') * - * is equal to + * is equivalent to * * digest = OpenSSL::Digest.new('sha256') * digest.update('digestdata') -- cgit v1.2.3