From 26134a6dc13f8cd6af6692ae53d440d7ea9deb13 Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 17 May 2010 21:50:00 +0000 Subject: * 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 --- class.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'class.c') diff --git a/class.c b/class.c index 68cf1a3fbb..c586f7aa2c 100644 --- a/class.c +++ b/class.c @@ -698,7 +698,7 @@ rb_mod_included_modules(VALUE mod) /* * call-seq: - * mod.include?(module) => true or false + * mod.include?(module) -> true or false * * Returns true if module is included in * mod or one of mod's ancestors. @@ -863,7 +863,7 @@ class_instance_method_list(int argc, VALUE *argv, VALUE mod, int (*func) (ID, lo /* * call-seq: - * mod.instance_methods(include_super=true) => array + * mod.instance_methods(include_super=true) -> array * * Returns an array containing the names of instance methods that is callable * from outside in the receiver. For a module, these are the public methods; @@ -896,7 +896,7 @@ rb_class_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * mod.protected_instance_methods(include_super=true) => array + * mod.protected_instance_methods(include_super=true) -> array * * Returns a list of the protected instance methods defined in * mod. If the optional parameter is not false, the @@ -911,7 +911,7 @@ rb_class_protected_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * mod.private_instance_methods(include_super=true) => array + * mod.private_instance_methods(include_super=true) -> array * * Returns a list of the private instance methods defined in * mod. If the optional parameter is not false, the @@ -934,7 +934,7 @@ rb_class_private_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * mod.public_instance_methods(include_super=true) => array + * mod.public_instance_methods(include_super=true) -> array * * Returns a list of the public instance methods defined in mod. * If the optional parameter is not false, the methods of @@ -949,7 +949,7 @@ rb_class_public_instance_methods(int argc, VALUE *argv, VALUE mod) /* * call-seq: - * obj.singleton_methods(all=true) => array + * obj.singleton_methods(all=true) -> array * * Returns an array of the names of singleton methods for obj. * If the optional all parameter is true, the list will include -- cgit v1.2.3