summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-23 08:30:52 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-23 08:30:52 +0000
commit06151d4a99e02ce9662c938d6d6d3f8e6621822b (patch)
treef514f55e31b1dcfd67ac0693d6373030fde7c5d1
parent04e30e310370760db4f60660d3f3c299524b8adf (diff)
* class.c (rb_class_instance_methods): rdoc fixed. [ruby-core:19458]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--class.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 122fdf690d..75cbc447c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 23 17:30:29 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
+
+ * class.c (rb_class_instance_methods): rdoc fixed. [ruby-core:19458]
+
Thu Oct 23 16:19:33 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/irb/init.rb (IRB.load_modules): catch LoadError explicitly.
diff --git a/class.c b/class.c
index 9ec27611ec..066fc07443 100644
--- a/class.c
+++ b/class.c
@@ -641,9 +641,9 @@ class_instance_method_list(int argc, VALUE *argv, VALUE mod, int (*func) (ID, lo
* call-seq:
* 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
- * class, they are the instance (not singleton) methods. With no
+ * 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;
+ * for a class, they are the instance (not singleton) methods. With no
* argument, or with an argument that is <code>false</code>, the
* instance methods in <i>mod</i> are returned, otherwise the methods
* in <i>mod</i> and <i>mod</i>'s superclasses are returned.