summaryrefslogtreecommitdiff
path: root/lib/uri
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 /lib/uri
parentd977849e1c4fb231247c3178d4d3d971722245f3 (diff)
Enclose the code that was accidentally a link in "tt"
Diffstat (limited to 'lib/uri')
-rw-r--r--lib/uri/rfc2396_parser.rb10
1 files changed, 5 insertions, 5 deletions
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
#