summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--class.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b48e7f9ac8..20b90758c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 12 11:51:08 2004 Dave Thomas <dave@pragprog.com>
+
+ * class.c (rb_obj_singleton_methods): fix rdoc
+
Mon May 10 21:44:42 2004 Dave Thomas <dave@pragprog.com>
* lib/rdoc/generators/html_generator.rb: Change scheme for
diff --git a/class.c b/class.c
index b84ba52784..0e310216da 100644
--- a/class.c
+++ b/class.c
@@ -747,10 +747,12 @@ rb_class_public_instance_methods(argc, argv, mod)
* def a.one()
*
* class << a
+ * end
* include Other
* def two()
* end
*
+ * end
* Single.singleton_methods #=> ["four"]
* a.singleton_methods #=> ["two", "one"]
* a.singleton_methods(true) #=> ["two", "one", "three"]