Sha256: a06f35ee45e51a75f5a8362f900686ea673e28bdf5cce41ffc5c3fe30720a2aa
Contents?: true
Size: 170 Bytes
Versions: 19
Compression:
Stored size: 170 Bytes
Contents
class Class def short_name name.split('::').last end def descendants ObjectSpace.each_object(Class).select do |klass| klass < self end end end
Version data entries
19 entries across 19 versions & 1 rubygems