mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/telnet.rb (Net::Telnet#close): added.
patched by Erik Hollensbe [ruby-dev:42260] #3830 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a29dc56764
commit
0d5a81f497
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Oct 21 15:42:01 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/net/telnet.rb (Net::Telnet#close): added.
|
||||
patched by Erik Hollensbe [ruby-dev:42260] #3830
|
||||
|
||||
Thu Oct 21 13:08:00 2010 Narihiro Nakamura <authornari@gmail.com>
|
||||
|
||||
* gc.c (rb_objspace_each_objects): don't lazy sweep in
|
||||
|
|
|
@ -754,6 +754,10 @@ module Net
|
|||
line
|
||||
end
|
||||
|
||||
def close
|
||||
@sock.close
|
||||
end
|
||||
|
||||
end # class Telnet
|
||||
end # module Net
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue