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:
parent
d977849e1c
commit
66d2fc7989
4 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue