Issue #5613 has been updated by kosaki (Motohiro KOSAKI).

File signame.patch added
Category set to core
Target version set to 2.0.0

以?????????????????????????????????

+ * call-seq:
+ *    Signal.signame(signo)              ->  string
+ *
+ *  convert signal number to signal name
+ *
+ * Signal.trap("INT") { |signo| puts Signal.signame(signo) }
+ * Process.kill("INT", 0)
+ *
+ *  <em>produces:</em>
+ *
+ *     INT

以???????????????????????

?????????? Signal.signame
?????????????????????????????????????????????????trap???????????????signal????????????????signal number???????渡?????????????
??????????????????????????????????????????????????????????????????????????????????Symbol?????????????
??????????? SIGINT ?????? INT??????????SIG??????????形????????????? Signal.list ???????????????????

???対????????????????????????????????????????



----------------------------------------
Feature #5613: Signal.termsigname ??????????追???
https://bugs.ruby-lang.org/issues/5613#change-32643

Author: kosaki (Motohiro KOSAKI)
Status: Assigned
Priority: Normal
Assignee: kosaki (Motohiro KOSAKI)
Category: core
Target version: 2.0.0


????$?.termsig??????????????????????????????????????????????????????????????
?????????????????????????????????????

signame = Signal.list.invert[$?.termsig]

????????????????????????????????????????????????????????????????
??????????????????? termsigname???????????????????????????????追????????????????????


-- 
http://bugs.ruby-lang.org/