From c055781752546299eeed9fb429f3a56e67410e36 Mon Sep 17 00:00:00 2001 From: ocean Date: Thu, 15 Jul 2004 11:46:00 +0000 Subject: * class.c: rdoc patch git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ class.c | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2099ea27b..76e36b6d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jul 15 20:44:46 Hirokazu Yamamoto + + * class.c: rdoc patch + Thu Jul 15 14:12:34 2004 why the lucky stiff * lib/yaml.rb (YAML::load_file, YAML::parse_file): added. diff --git a/class.c b/class.c index 6a21cb66d..0601d54af 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 * mod. If the optional parameter is not false, 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 * mod. If the optional parameter is not false, 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 mod. * If the optional parameter is not false, 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 obj. * If the optional all parameter is true, the list will include -- cgit