summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-03-31 15:18:37 +0900
committeraycabta <aycabta@gmail.com>2021-03-31 15:18:52 +0900
commit66d2fc7989d741bf5a73286233139901cecb4fc2 (patch)
treec14e9e19eb1371f202a2e55ad6be10c2f5a92cef
parentd977849e1c4fb231247c3178d4d3d971722245f3 (diff)
downloadruby-66d2fc7989d741bf5a73286233139901cecb4fc2.tar.gz
Enclose the code that was accidentally a link in "tt"
-rw-r--r--ext/openssl/ossl_asn1.c2
-rw-r--r--lib/net/imap.rb14
-rw-r--r--lib/racc/parser.rb2
-rw-r--r--lib/uri/rfc2396_parser.rb10
4 files changed, 14 insertions, 14 deletions
diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c
index 9eb1826f02..b4b285323b 100644
--- a/ext/openssl/ossl_asn1.c
+++ b/ext/openssl/ossl_asn1.c
@@ -1510,7 +1510,7 @@ Init_ossl_asn1(void)
*
* 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 505b4c8950..36920c4a91 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -447,8 +447,8 @@ module Net
# 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
# 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
# [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 df94e85eb7..4237fb572c 100644
--- a/lib/racc/parser.rb
+++ b/lib/racc/parser.rb
@@ -546,7 +546,7 @@ module Racc
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 c719aa0726..1c9ce177bc 100644
--- a/lib/uri/rfc2396_parser.rb
+++ b/lib/uri/rfc2396_parser.rb
@@ -116,7 +116,7 @@ module URI
# 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
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
# +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
# +str+::
# String to remove escapes from
# +escaped+::
- # Regexp to apply. Defaults to self.regexp[:ESCAPED]
+ # Regexp to apply. Defaults to +self.regexp[:ESCAPED]+
#
# == Description
#