Sha256: cf5ce9d16cbbe18ad7dcf1a9d2937d66e3ad01c3f12c147c303d957674241920
Contents?: true
Size: 156 Bytes
Versions: 17
Compression:
Stored size: 156 Bytes
Contents
class Object # Returns all descendants of a class # def self.descendants ObjectSpace.each_object(Class).select { |klass| klass < self } end end
Version data entries
17 entries across 17 versions & 1 rubygems