[Feature #2693] unfriendly exception when command executed for Net::FTP which is not connected

Feature #2693: unfriendly exception when command executed for Net::FTP
which is not connected
http://redmine.ruby-lang.org/issues/show/2693

e$B5/I<<Te(B: Yuki S.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal

#2291e$B$Oe(Br25518e$B$K$h$j=$@5$5$l$^$7$?$,!"B>$N%3%^%s%I$O0MA3$H$7$F%=%1%C%H$r3+$$$F$$$k$3$H$r3NG’$7$F$$$^$;$s!#e(B
e$B$3$N$?$a!"e([email protected]$B$K$h$je(BNoMethodErrore$B$,H/@8$7$^$9!#e(B

require ‘net/ftp’
f = Net::FTP.new
f.quit #=> NoMethodError

e$B2?$+B>$Ne(BNet::FTPe$B0J2<$KDj5A$5$l$?Nc30$rEj$2$kJ}$,?F@Z$@$H;W$$$^$9!#e(B

e$B%A%1%C%He(B #2693 e$B$,99?7$5$l$^$7$?!#e(B (by Shugo M.)

e$B%9%F!<%?%9e(B Assignede$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r26605.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/2693