summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-30 04:35:16 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-30 04:35:16 +0000
commit4d3f87718014cf13189c35c4ed8a6cfd93a91406 (patch)
treeb2e8b5e79480a45938c2f165a1f7994bb12f6098 /signal.c
parentc41dc085d0fdb7cce8c6eb10c40fe9c8c68c8aa1 (diff)
* signal.c (ruby_signal_name): rdoc fix for undocumented parameter
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/signal.c b/signal.c
index 23f0b279fc..3c563cf120 100644
--- a/signal.c
+++ b/signal.c
@@ -217,10 +217,11 @@ ruby_signal_name(int no)
/*
* call-seq:
- * SignalException.new(sig) => signal_exception
+ * SignalException.new(sig_name) => signal_exception
+ * SignalException.new(sig_number [, name]) => signal_exception
*
- * Construct a new SignalException object. +sig+ should be a known
- * signal name, or a signal number.
+ * Construct a new SignalException object. +sig_name+ should be a known
+ * signal name.
*/
static VALUE