diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-17 21:07:33 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-17 21:07:33 +0000 |
commit | 7729de4d91ffbf0fe8fa4f2a95b85d3406845471 (patch) | |
tree | d930ee058c37104d7cd892dbbb7c56dc775abebc /eval.c | |
parent | e181ae53918c09139e7f60bf5ad32741d91339cd (diff) | |
download | ruby-7729de4d91ffbf0fe8fa4f2a95b85d3406845471.tar.gz |
* 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 'eval.c')
-rw-r--r-- | eval.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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. @@ -806,7 +806,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 @@ -834,7 +834,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. */ @@ -868,7 +868,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 @@ -902,7 +902,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. @@ -944,7 +944,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 @@ -1079,8 +1079,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>. |