Actions
Bug #279
closedtrap("INT", "p 1") causes ArgumentError
Description
=begin
trap("INT", "p 1") とすると、ArgumentError になります。
% ./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 ではなりませんし、1.9 の rdoc をみても
- Signal.trap( signal, command ) => obj
という記述があります。¶
[田中 哲][たなか あきら][Tanaka Akira]
=end
Updated by nobu (Nobuyoshi Nakada) over 16 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
Applied in changeset r18084.
=end
Actions
Like0
Like0