Sha256: 8670ee1fff112d078dced67a93cc6fb9ff6d4b0ba7ca4a204a5ba5e342691834
Contents?: true
Size: 237 Bytes
Versions: 14
Compression:
Stored size: 237 Bytes
Contents
class Class def inherited(subclass) if superclass.respond_to? :inherited superclass.inherited(subclass) end @subclasses ||= [] @subclasses << subclass end def subclasses @subclasses||[] end end
Version data entries
14 entries across 14 versions & 1 rubygems