Sha256: 2eb068617477d1e09c81af26567bb3240f15f5cdd131163648cf03e6c854e804
Contents?: true
Size: 511 Bytes
Versions: 17
Compression:
Stored size: 511 Bytes
Contents
# frozen_string_literal: true ## # A singleton class class RDoc::SingleClass < RDoc::ClassModule ## # Adds the superclass to the included modules. def ancestors superclass ? super + [superclass] : super end def aref_prefix # :nodoc: 'sclass' end ## # The definition of this singleton class, <tt>class << MyClassName</tt> def definition "class << #{full_name}" end def pretty_print q # :nodoc: q.group 2, "[class << #{full_name}", "]" do next end end end
Version data entries
17 entries across 15 versions & 6 rubygems