mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/uri/common.rb: [DOC] typo fixes by @vipulnsward [Fixes GH-456]
https://github.com/ruby/ruby/pull/456 * lib/uri/generic.rb: [DOC] ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b514742374
commit
217d37a64a
3 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Mon Nov 25 19:48:10 2013 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
|
* lib/uri/common.rb: [DOC] typo fixes by @vipulnsward [Fixes GH-456]
|
||||||
|
https://github.com/ruby/ruby/pull/456
|
||||||
|
* lib/uri/generic.rb: [DOC] ditto.
|
||||||
|
|
||||||
Mon Nov 25 14:34:42 2013 Zachary Scott <e@zzak.io>
|
Mon Nov 25 14:34:42 2013 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
* ext/bigdecimal/bigdecimal.gemspec: bump BigDecimal to 1.2.3 for
|
* ext/bigdecimal/bigdecimal.gemspec: bump BigDecimal to 1.2.3 for
|
||||||
|
|
|
@ -74,7 +74,7 @@ module URI
|
||||||
# The constructor accepts a hash as options for parser.
|
# The constructor accepts a hash as options for parser.
|
||||||
# Keys of options are pattern names of URI components
|
# Keys of options are pattern names of URI components
|
||||||
# and values of options are pattern strings.
|
# and values of options are pattern strings.
|
||||||
# The constructor generetes set of regexps for parsing URIs.
|
# The constructor generates set of regexps for parsing URIs.
|
||||||
#
|
#
|
||||||
# You can use the following keys:
|
# You can use the following keys:
|
||||||
#
|
#
|
||||||
|
|
|
@ -552,7 +552,7 @@ module URI
|
||||||
protected :set_password
|
protected :set_password
|
||||||
|
|
||||||
# returns the userinfo +ui+ as user, password
|
# returns the userinfo +ui+ as user, password
|
||||||
# if properly formated as 'user:password'
|
# if properly formatted as 'user:password'
|
||||||
def split_userinfo(ui)
|
def split_userinfo(ui)
|
||||||
return nil, nil unless ui
|
return nil, nil unless ui
|
||||||
user, password = ui.split(/:/, 2)
|
user, password = ui.split(/:/, 2)
|
||||||
|
@ -672,7 +672,7 @@ module URI
|
||||||
# u.hostname = "::1"
|
# u.hostname = "::1"
|
||||||
# p u.to_s #=> "http://[::1]/bar"
|
# p u.to_s #=> "http://[::1]/bar"
|
||||||
#
|
#
|
||||||
# If the arugument seems IPv6 address,
|
# If the arguement seems IPv6 address,
|
||||||
# it is wrapped by brackets.
|
# it is wrapped by brackets.
|
||||||
#
|
#
|
||||||
def hostname=(v)
|
def hostname=(v)
|
||||||
|
|
Loading…
Reference in a new issue