Project

General

Profile

Actions

Bug #167

closed

net/telnet login() method no longer works under 1.9

Added by pragdave (Dave Thomas) over 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-core:17272]

Description

=begin
dave[RUBY3/Book 23:25:26*] ruby -r net/telnet -e 'Net::Telnet.new({}).login "a", "b"'
/usr/local/rubybook/lib/ruby/1.9.0/net/telnet.rb:567:in Integer': can't convert nil into Integer (TypeError)
from /usr/local/rubybook/lib/ruby/1.9.0/net/telnet.rb:567:in
waitfor'
from /usr/local/rubybook/lib/ruby/1.9.0/net/telnet.rb:745:in login'
from -e:1:in
'
=end

Actions

Also available in: Atom PDF