summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-15 11:46:00 +0000
committerocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-07-15 11:46:00 +0000
commit5d67732de3747604c29e90a08fa7c5571de2449e (patch)
treeb1f5f726c25df575e6d60539daa69c2457c98e08 /class.c
parent3ac79892be7f3473d79ed0868f8413804e279f40 (diff)
* class.c: rdoc patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/class.c b/class.c
index 6a21cb66d9..0601d54aff 100644
--- a/class.c
+++ b/class.c
@@ -632,7 +632,7 @@ class_instance_method_list(argc, argv, mod, func)
/*
* call-seq:
- * mod.instance_methods(include_super=false) => array
+ * mod.instance_methods(include_super=true) => array
*
* Returns an array containing the names of public instance methods in
* the receiver. For a module, these are the public methods; for a
@@ -668,7 +668,7 @@ rb_class_instance_methods(argc, argv, mod)
/*
* call-seq:
- * mod.protected_instance_methods(include_super=false) => array
+ * mod.protected_instance_methods(include_super=true) => array
*
* Returns a list of the protected instance methods defined in
* <i>mod</i>. If the optional parameter is not <code>false</code>, the
@@ -686,7 +686,7 @@ rb_class_protected_instance_methods(argc, argv, mod)
/*
* call-seq:
- * mod.private_instance_methods(include_super=false) => array
+ * mod.private_instance_methods(include_super=true) => array
*
* Returns a list of the private instance methods defined in
* <i>mod</i>. If the optional parameter is not <code>false</code>, the
@@ -712,7 +712,7 @@ rb_class_private_instance_methods(argc, argv, mod)
/*
* call-seq:
- * mod.public_instance_methods(include_super=false) => array
+ * mod.public_instance_methods(include_super=true) => array
*
* Returns a list of the public instance methods defined in <i>mod</i>.
* If the optional parameter is not <code>false</code>, the methods of
@@ -730,7 +730,7 @@ rb_class_public_instance_methods(argc, argv, mod)
/*
* call-seq:
- * obj.singleton_methods(all=false) => array
+ * obj.singleton_methods(all=true) => array
*
* Returns an array of the names of singleton methods for <i>obj</i>.
* If the optional <i>all</i> parameter is true, the list will include