summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'class.c')
-rw-r--r--class.c2
1 files changed, 2 insertions, 0 deletions
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"]