freebsd-ports/lang/ruby20/files/patch-lib-rdoc-single_class.rb
Steve Wills f61e451a34 lang/ruby20: update to 2.0.0 p643
While here, bring in an rdoc fix

Obtained from:	55fbd8947f
2015-03-07 17:53:51 +00:00

13 lines
282 B
Ruby

--- 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>