summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:50:00 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-17 21:50:00 +0000
commit26134a6dc13f8cd6af6692ae53d440d7ea9deb13 (patch)
treecc4230483c7ba5d8ced17943f954fc9dbe72ea9f /eval.c
parent9c5fb33a694b87ccbfe08dee0f9e3da3bbbf3fff (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 * hash.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/branches/ruby_1_9_2@27870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/eval.c b/eval.c
index 1948ac9d98..99f28dc8e6 100644
--- a/eval.c
+++ b/eval.c
@@ -263,7 +263,7 @@ ruby_exec_node(void *n)
/*
* call-seq:
- * Module.nesting => array
+ * Module.nesting -> array
*
* Returns the list of +Modules+ nested at the point of call.
*
@@ -295,7 +295,7 @@ rb_mod_nesting(void)
/*
* call-seq:
- * Module.constants => array
+ * Module.constants -> array
*
* Returns an array of the names of all constants defined in the
* system. This list includes the names of all modules and classes.
@@ -805,7 +805,7 @@ rb_frame_pop(void)
/*
* call-seq:
- * append_features(mod) => mod
+ * append_features(mod) -> mod
*
* When this module is included in another, Ruby calls
* <code>append_features</code> in this module, passing it the
@@ -833,7 +833,7 @@ rb_mod_append_features(VALUE module, VALUE include)
/*
* call-seq:
- * include(module, ...) => self
+ * include(module, ...) -> self
*
* Invokes <code>Module.append_features</code> on each parameter in reverse order.
*/
@@ -867,7 +867,7 @@ rb_extend_object(VALUE obj, VALUE module)
/*
* call-seq:
- * extend_object(obj) => obj
+ * extend_object(obj) -> obj
*
* Extends the specified object by adding this module's constants and
* methods (which are added as singleton methods). This is the callback
@@ -901,7 +901,7 @@ rb_mod_extend_object(VALUE mod, VALUE obj)
/*
* call-seq:
- * obj.extend(module, ...) => obj
+ * obj.extend(module, ...) -> obj
*
* Adds to _obj_ the instance methods from each module given as a
* parameter.
@@ -943,7 +943,7 @@ rb_obj_extend(int argc, VALUE *argv, VALUE obj)
/*
* call-seq:
- * include(module, ...) => self
+ * include(module, ...) -> self
*
* Invokes <code>Module.append_features</code>
* on each parameter in turn. Effectively adds the methods and constants
@@ -1078,8 +1078,8 @@ errat_setter(VALUE val, ID id, VALUE *var)
/*
* call-seq:
- * __method__ => symbol
- * __callee__ => symbol
+ * __method__ -> symbol
+ * __callee__ -> symbol
*
* Returns the name of the current method as a Symbol.
* If called outside of a method, it returns <code>nil</code>.