mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix URI::HTTP.new example
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example, missing mandatory arguments. [ruby-core:74540] [Bug #12215] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
88291c190a
commit
1ac12c4056
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Mar 25 11:08:37 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example,
|
||||||
|
missing mandatory arguments. [ruby-core:74540] [Bug #12215]
|
||||||
|
|
||||||
Fri Mar 25 01:50:58 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
Fri Mar 25 01:50:58 2016 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* thread_pthread.c (reserve_stack): fix reserving position where
|
* thread_pthread.c (reserve_stack): fix reserving position where
|
||||||
|
|
|
@ -63,6 +63,7 @@ module URI
|
||||||
return super(tmp)
|
return super(tmp)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
=begin
|
||||||
#
|
#
|
||||||
# == Description
|
# == Description
|
||||||
#
|
#
|
||||||
|
@ -75,8 +76,8 @@ module URI
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
#
|
#
|
||||||
# uri = URI::HTTP.new('http', nil, "www.example.com", nil, "/path",
|
# uri = URI::HTTP.new("http", nil, "www.example.com", nil, nil,
|
||||||
# "query", 'fragment')
|
# "/path", nil, "query", "fragment")
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# See also URI::Generic.new
|
# See also URI::Generic.new
|
||||||
|
@ -84,6 +85,7 @@ module URI
|
||||||
def initialize(*arg)
|
def initialize(*arg)
|
||||||
super(*arg)
|
super(*arg)
|
||||||
end
|
end
|
||||||
|
=end
|
||||||
|
|
||||||
#
|
#
|
||||||
# == Description
|
# == Description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue