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