Sha256: 40b44a6e07c6ddc5d08eacfa90f0f226008e60d56f610eb44e8e3bc0a185cfa5
Contents?: true
Size: 265 Bytes
Versions: 26
Compression:
Stored size: 265 Bytes
Contents
module Kuhsaft module PagePart def self.all descendants = [] ObjectSpace.each_object(Class) do |k| descendants.unshift k if k < self end descendants.uniq! descendants.map { |d| d.to_s.underscore.to_sym } end end end
Version data entries
26 entries across 26 versions & 1 rubygems