summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:33 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:07:33 +0000
commit7729de4d91ffbf0fe8fa4f2a95b85d3406845471 (patch)
treed930ee058c37104d7cd892dbbb7c56dc775abebc /signal.c
parente181ae53918c09139e7f60bf5ad32741d91339cd (diff)
* array.c: Documentation: change => in call-seq to ->.
Harmonize "#=>" in examples. [ruby-core:30206] * bignum.c: ditto * class.c: ditto * compar.c: ditto * cont.c: ditto * dir.c: ditto * encoding.c: ditto * enum.c: ditto * enumerator.c: ditto * error.c: ditto * eval.c: ditto * file.c: ditto * gc.c: ditto * io.c: ditto * load.c: ditto * marshal.c: ditto * math.c: ditto * numeric.c: ditto * object.c: ditto * pack.c: ditto * proc.c: ditto * process.c: ditto * random.c: ditto * range.c: ditto * re.c: ditto * ruby.c: ditto * signal.c: ditto * sprintf.c: ditto * string.c: ditto * struct.c: ditto * thread.c: ditto * time.c: ditto * transcode.c: ditto * variable.c: ditto * vm_eval.c: ditto * vm_method.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.