aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2015-03-30 15:30:30 +0000
committerSteve Wills <swills@FreeBSD.org>2015-03-30 15:30:30 +0000
commit70eb32067e0913161d15bc40578cf16a40a2ca9b (patch)
tree36c20c6d6fcf4da9847e08cfa68db109d577f848 /lang
parent62e5fa615e555d53b80b8595507d65f159a49adb (diff)
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby21/files/patch-lib-rdoc-single_class.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ruby21/files/patch-lib-rdoc-single_class.rb b/lang/ruby21/files/patch-lib-rdoc-single_class.rb
new file mode 100644
index 000000000000..a1e9a7706dad
--- /dev/null
+++ b/lang/ruby21/files/patch-lib-rdoc-single_class.rb
@@ -0,0 +1,13 @@
+--- lib/rdoc/single_class.rb
++++ lib/rdoc/single_class.rb
+@@ -10,6 +10,10 @@ def ancestors
+ superclass ? super + [superclass] : super
+ end
+
++ def aref_prefix # :nodoc:
++ 'sclass'
++ end
++
+ ##
+ # The definition of this singleton class, <tt>class << MyClassName</tt>
+