1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Enclose the code that was accidentally a link in "tt"

This commit is contained in:
aycabta 2021-03-31 15:18:37 +09:00
parent d977849e1c
commit 66d2fc7989
4 changed files with 14 additions and 14 deletions

View file

@ -1510,7 +1510,7 @@ Init_ossl_asn1(void)
* *
* An Array that stores the name of a given tag number. These names are * 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, * 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 * == Example usage
* *

View file

@ -447,8 +447,8 @@ module Net
# in the +mailbox+ can be accessed. # in the +mailbox+ can be accessed.
# #
# After you have selected a mailbox, you may retrieve the # After you have selected a mailbox, you may retrieve the
# number of items in that mailbox from @responses["EXISTS"][-1], # number of items in that mailbox from +@responses["EXISTS"][-1]+,
# and the number of recent messages from @responses["RECENT"][-1]. # and the number of recent messages from +@responses["RECENT"][-1]+.
# Note that these values can change if new messages arrive # Note that these values can change if new messages arrive
# during a session; see #add_response_handler() for a way of # during a session; see #add_response_handler() for a way of
# detecting this event. # detecting this event.
@ -1052,11 +1052,11 @@ module Net
# The available options are: # The available options are:
# #
# port:: Port number (default value is 143 for imap, or 993 for imaps) # 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 # to use SSL (now TLS) to connect to the server. For this to work
# OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to # OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to
# be installed. # 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. # OpenSSL::SSL::SSLContext#set_params as parameters.
# open_timeout:: Seconds to wait until a connection is opened # open_timeout:: Seconds to wait until a connection is opened
# #
@ -1912,13 +1912,13 @@ module Net
# [INTERNALDATE] # [INTERNALDATE]
# A string representing the internal date of the message. # A string representing the internal date of the message.
# [RFC822] # [RFC822]
# Equivalent to BODY[]. # Equivalent to +BODY[]+.
# [RFC822.HEADER] # [RFC822.HEADER]
# Equivalent to BODY.PEEK[HEADER]. # Equivalent to +BODY.PEEK[HEADER]+.
# [RFC822.SIZE] # [RFC822.SIZE]
# A number expressing the [RFC-822] size of the message. # A number expressing the [RFC-822] size of the message.
# [RFC822.TEXT] # [RFC822.TEXT]
# Equivalent to BODY[TEXT]. # Equivalent to +BODY[TEXT]+.
# [UID] # [UID]
# A number expressing the unique identifier of the message. # A number expressing the unique identifier of the message.
# #

View file

@ -546,7 +546,7 @@ module Racc
end end
# Exit parser. # Exit parser.
# Return value is Symbol_Value_Stack[0]. # Return value is +Symbol_Value_Stack[0]+.
def yyaccept def yyaccept
throw :racc_jump, 2 throw :racc_jump, 2
end end

View file

@ -116,7 +116,7 @@ module URI
# See also URI::Parser.initialize_regexp. # See also URI::Parser.initialize_regexp.
attr_reader :regexp attr_reader :regexp
# Returns a split URI against regexp[:ABS_URI]. # Returns a split URI against +regexp[:ABS_URI]+.
def split(uri) def split(uri)
case uri case uri
when '' when ''
@ -257,8 +257,8 @@ module URI
end end
end end
# Returns Regexp that is default self.regexp[:ABS_URI_REF], # 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]. # unless +schemes+ is provided. Then it is a Regexp.union with +self.pattern[:X_ABS_URI]+.
def make_regexp(schemes = nil) def make_regexp(schemes = nil)
unless schemes unless schemes
@regexp[:ABS_URI_REF] @regexp[:ABS_URI_REF]
@ -277,7 +277,7 @@ module URI
# +str+:: # +str+::
# String to make safe # String to make safe
# +unsafe+:: # +unsafe+::
# Regexp to apply. Defaults to self.regexp[:UNSAFE] # Regexp to apply. Defaults to +self.regexp[:UNSAFE]+
# #
# == Description # == Description
# #
@ -309,7 +309,7 @@ module URI
# +str+:: # +str+::
# String to remove escapes from # String to remove escapes from
# +escaped+:: # +escaped+::
# Regexp to apply. Defaults to self.regexp[:ESCAPED] # Regexp to apply. Defaults to +self.regexp[:ESCAPED]+
# #
# == Description # == Description
# #