Sha256: 77587857c086b2252431853fca77adca2508bef0efc008268ffb240ab7f8f94c
Contents?: true
Size: 145 Bytes
Versions: 55
Compression:
Stored size: 145 Bytes
Contents
class Class def subclasses result = [] ObjectSpace.each_object(Class) { |klass| result << klass if klass < self } result end end
Version data entries
55 entries across 55 versions & 3 rubygems