From 217d37a64a0df8ed369998c135acc175cac4c6dd Mon Sep 17 00:00:00 2001 From: zzak Date: Mon, 25 Nov 2013 10:49:29 +0000 Subject: * 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 --- lib/uri/generic.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/uri/generic.rb') diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb index b1195fdf0b..48c9d7b9a2 100644 --- a/lib/uri/generic.rb +++ b/lib/uri/generic.rb @@ -552,7 +552,7 @@ module URI protected :set_password # returns the userinfo +ui+ as user, password - # if properly formated as 'user:password' + # if properly formatted as 'user:password' def split_userinfo(ui) return nil, nil unless ui user, password = ui.split(/:/, 2) @@ -672,7 +672,7 @@ module URI # u.hostname = "::1" # p u.to_s #=> "http://[::1]/bar" # - # If the arugument seems IPv6 address, + # If the arguement seems IPv6 address, # it is wrapped by brackets. # def hostname=(v) -- cgit v1.2.3