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

Version Path
kuhsaft-0.2.legacy4 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.4.legacy3 app/models/kuhsaft/page_part.rb
kuhsaft-0.2.legacy3 app/models/kuhsaft/page_part.rb
kuhsaft-0.2.legacy2 app/models/kuhsaft/page_part.rb
kuhsaft-0.2.legacy app/models/kuhsaft/page_part.rb
kuhsaft-0.3.4.legacy2 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.4.legacy app/models/kuhsaft/page_part.rb
kuhsaft-0.3.6 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.5 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.4 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.4.rc2 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.4.rc1 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.3 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.2 app/models/kuhsaft/page_part.rb
kuhsaft-0.2.5 app/models/kuhsaft/page_part.rb
kuhsaft-0.2.4 app/models/kuhsaft/page_part.rb
kuhsaft-0.2.3 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.1 app/models/kuhsaft/page_part.rb
kuhsaft-0.3.0 app/models/kuhsaft/page_part.rb
kuhsaft-0.2.2 app/models/kuhsaft/page_part.rb