Skip to content

Commit 1a03270

Browse files
nobumatzbot
authored andcommitted
[ruby/uri] [DOC] Fix references
These are instance methods, not class methods. And `URI::Parser` was moved to URI::RFC2396_Parser at [r46491] [r46491]: ruby@bb83f32dc3e0 ruby/uri@452d74390c
1 parent 7a03a02 commit 1a03270

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/uri/rfc2396_parser.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ def initialize(opts = {})
108108

109109
# The Hash of patterns.
110110
#
111-
# See also URI::Parser.initialize_pattern.
111+
# See also #initialize_pattern.
112112
attr_reader :pattern
113113

114114
# The Hash of Regexp.
115115
#
116-
# See also URI::Parser.initialize_regexp.
116+
# See also #initialize_regexp.
117117
attr_reader :regexp
118118

119119
# Returns a split URI against +regexp[:ABS_URI]+.
@@ -244,7 +244,7 @@ def join(*uris)
244244
# If no +block+ given, then returns the result,
245245
# else it calls +block+ for each element in result.
246246
#
247-
# See also URI::Parser.make_regexp.
247+
# See also #make_regexp.
248248
#
249249
def extract(str, schemes = nil)
250250
if block_given?

0 commit comments

Comments
 (0)