Sha256: 843b71dec629885b04c0a3bf08ed011fbe753d2fe4dd04fe0cec5705c2b96b1a
Contents?: true
Size: 359 Bytes
Versions: 16
Compression:
Stored size: 359 Bytes
Contents
require 'rdoc/class_module' ## # A singleton class class RDoc::SingleClass < RDoc::ClassModule ## # Adds the superclass to the included modules. def ancestors superclass ? super + [superclass] : super end ## # The definition of this singleton class, <tt>class << MyClassName</tt> def definition "class << #{full_name}" end end
Version data entries
16 entries across 16 versions & 1 rubygems