summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/signal.c b/signal.c
index 9ecf4fc0f2..ba3595454a 100644
--- a/signal.c
+++ b/signal.c
@@ -217,8 +217,8 @@ ruby_signal_name(int no)
/*
* call-seq:
- * SignalException.new(sig_name) => signal_exception
- * SignalException.new(sig_number [, name]) => signal_exception
+ * SignalException.new(sig_name) -> signal_exception
+ * SignalException.new(sig_number [, name]) -> signal_exception
*
* Construct a new SignalException object. +sig_name+ should be a known
* signal name.
@@ -276,7 +276,7 @@ esignal_init(int argc, VALUE *argv, VALUE self)
/*
* call-seq:
- * signal_exception.signo => num
+ * signal_exception.signo -> num
*
* Returns a signal number.
*/
@@ -307,7 +307,7 @@ ruby_default_signal(int sig)
/*
* call-seq:
- * Process.kill(signal, pid, ...) => fixnum
+ * Process.kill(signal, pid, ...) -> fixnum
*
* Sends the given signal to the specified process id(s), or to the
* current process if _pid_ is zero. _signal_ may be an
@@ -900,8 +900,8 @@ rb_trap_restore_mask(void)
/*
* call-seq:
- * Signal.trap( signal, command ) => obj
- * Signal.trap( signal ) {| | block } => obj
+ * Signal.trap( signal, command ) -> obj
+ * Signal.trap( signal ) {| | block } -> obj
*
* Specifies the handling of signals. The first parameter is a signal
* name (a string such as ``SIGALRM'', ``SIGUSR1'', and so on) or a
@@ -965,7 +965,7 @@ sig_trap(int argc, VALUE *argv)
/*
* call-seq:
- * Signal.list => a_hash
+ * Signal.list -> a_hash
*
* Returns a list of signal names mapped to the corresponding
* underlying signal numbers.