ruby-changes:65716
From: aycabta <ko1@a...>
Date: Wed, 31 Mar 2021 15:18:54 +0900 (JST)
Subject: [ruby-changes:65716] 66d2fc7989 (master): Enclose the code that was accidentally a link in "tt"
https://git.ruby-lang.org/ruby.git/commit/?id=66d2fc7989 From 66d2fc7989d741bf5a73286233139901cecb4fc2 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Wed, 31 Mar 2021 15:18:37 +0900 Subject: Enclose the code that was accidentally a link in "tt" --- ext/openssl/ossl_asn1.c | 2 +- lib/net/imap.rb | 14 +++++++------- lib/racc/parser.rb | 2 +- lib/uri/rfc2396_parser.rb | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c index 9eb1826..b4b2853 100644 --- a/ext/openssl/ossl_asn1.c +++ b/ext/openssl/ossl_asn1.c @@ -1510,7 +1510,7 @@ Init_ossl_asn1(void) https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_asn1.c#L1510 * * An Array that stores the name of a given tag number. These names are * the same as the name of the tag constant that is additionally defined, - * e.g. UNIVERSAL_TAG_NAME[2] = "INTEGER" and OpenSSL::ASN1::INTEGER = 2. + * e.g. +UNIVERSAL_TAG_NAME[2] = "INTEGER"+ and +OpenSSL::ASN1::INTEGER = 2+. * * == Example usage * diff --git a/lib/net/imap.rb b/lib/net/imap.rb index 505b4c8..36920c4 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -447,8 +447,8 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/imap.rb#L447 # in the +mailbox+ can be accessed. # # After you have selected a mailbox, you may retrieve the - # number of items in that mailbox from @responses["EXISTS"][-1], - # and the number of recent messages from @responses["RECENT"][-1]. + # number of items in that mailbox from +@responses["EXISTS"][-1]+, + # and the number of recent messages from +@responses["RECENT"][-1]+. # Note that these values can change if new messages arrive # during a session; see #add_response_handler() for a way of # detecting this event. @@ -1052,11 +1052,11 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/imap.rb#L1052 # The available options are: # # port:: Port number (default value is 143 for imap, or 993 for imaps) - # ssl:: If options[:ssl] is true, then an attempt will be made + # ssl:: If +options[:ssl]+ is true, then an attempt will be made # to use SSL (now TLS) to connect to the server. For this to work # OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to # be installed. - # If options[:ssl] is a hash, it's passed to + # If +options[:ssl]+ is a hash, it's passed to # OpenSSL::SSL::SSLContext#set_params as parameters. # open_timeout:: Seconds to wait until a connection is opened # @@ -1912,13 +1912,13 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/imap.rb#L1912 # [INTERNALDATE] # A string representing the internal date of the message. # [RFC822] - # Equivalent to BODY[]. + # Equivalent to +BODY[]+. # [RFC822.HEADER] - # Equivalent to BODY.PEEK[HEADER]. + # Equivalent to +BODY.PEEK[HEADER]+. # [RFC822.SIZE] # A number expressing the [RFC-822] size of the message. # [RFC822.TEXT] - # Equivalent to BODY[TEXT]. + # Equivalent to +BODY[TEXT]+. # [UID] # A number expressing the unique identifier of the message. # diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb index df94e85..4237fb5 100644 --- a/lib/racc/parser.rb +++ b/lib/racc/parser.rb @@ -546,7 +546,7 @@ module Racc https://github.com/ruby/ruby/blob/trunk/lib/racc/parser.rb#L546 end # Exit parser. - # Return value is Symbol_Value_Stack[0]. + # Return value is +Symbol_Value_Stack[0]+. def yyaccept throw :racc_jump, 2 end diff --git a/lib/uri/rfc2396_parser.rb b/lib/uri/rfc2396_parser.rb index c719aa0..1c9ce17 100644 --- a/lib/uri/rfc2396_parser.rb +++ b/lib/uri/rfc2396_parser.rb @@ -116,7 +116,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/rfc2396_parser.rb#L116 # See also URI::Parser.initialize_regexp. attr_reader :regexp - # Returns a split URI against regexp[:ABS_URI]. + # Returns a split URI against +regexp[:ABS_URI]+. def split(uri) case uri when '' @@ -257,8 +257,8 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/rfc2396_parser.rb#L257 end end - # Returns Regexp that is default self.regexp[:ABS_URI_REF], - # unless +schemes+ is provided. Then it is a Regexp.union with self.pattern[:X_ABS_URI]. + # Returns Regexp that is default +self.regexp[:ABS_URI_REF]+, + # unless +schemes+ is provided. Then it is a Regexp.union with +self.pattern[:X_ABS_URI]+. def make_regexp(schemes = nil) unless schemes @regexp[:ABS_URI_REF] @@ -277,7 +277,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/rfc2396_parser.rb#L277 # +str+:: # String to make safe # +unsafe+:: - # Regexp to apply. Defaults to self.regexp[:UNSAFE] + # Regexp to apply. Defaults to +self.regexp[:UNSAFE]+ # # == Description # @@ -309,7 +309,7 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/rfc2396_parser.rb#L309 # +str+:: # String to remove escapes from # +escaped+:: - # Regexp to apply. Defaults to self.regexp[:ESCAPED] + # Regexp to apply. Defaults to +self.regexp[:ESCAPED]+ # # == Description # -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/