1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rdoc/single_class.rb

14 lines
154 B
Ruby
Raw Normal View History

require 'rdoc/class_module'
##
# A singleton class
class RDoc::SingleClass < RDoc::ClassModule
def ancestors
includes + [superclass]
end
end