trap(“INT”, “p 1”) e$B$H$9$k$H!"e(BArgumentError e$B$K$J$j$^$9!#e(B
% ./ruby -ve ‘trap(“INT”, “p 1”)’
ruby 1.9.0 (2008-07-16 revision 18083) [i686-linux]
-e:1:in trap': wrong trap - p 1 (ArgumentError) from -e:1:in
’
1.8 e$B$G$O$J$j$^$;$s$7!"e(B1.9 e$B$Ne(B rdoc e$B$r$_$F$be(B
- Signal.trap( signal, command ) => obj
e$B$H$$$&5-=R$,$"$j$^$9!#e(B