mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/http.rb (set_debug_output): warn if method is called after #start. [ruby-dev:38798]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8eb537a88a
commit
d4060e0467
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Nov 16 09:45:23 2003 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
|
* lib/net/http.rb (set_debug_output): warn if method is called
|
||||||
|
after #start. [ruby-dev:38798]
|
||||||
|
|
||||||
Sun Nov 16 04:41:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Sun Nov 16 04:41:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* eval.c (eval): do not re-raise exception to avoid unnecessary
|
* eval.c (eval): do not re-raise exception to avoid unnecessary
|
||||||
|
|
|
@ -366,6 +366,7 @@ module Net # :nodoc:
|
||||||
# http.start { .... }
|
# http.start { .... }
|
||||||
#
|
#
|
||||||
def set_debug_output( output )
|
def set_debug_output( output )
|
||||||
|
warn 'Net::HTTP#set_debug_output called after HTTP started'
|
||||||
@debug_output = output
|
@debug_output = output
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue