Sha256: 936526f0ce3ff1127be89cf632bc80d6f28226854493779557774265713f9c94

Contents?: true

Size: 163 Bytes

Versions: 28

Compression:

Stored size: 163 Bytes

Contents

# encoding: utf-8

module Github
  module Descendants
    def descendants
      ObjectSpace.each_object(::Class).select { |klass| klass < self }
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
github_api-0.8.3 lib/github_api/descendants.rb
github_api-0.8.2 lib/github_api/descendants.rb
github_api-0.8.1 lib/github_api/descendants.rb
github_api-0.8.0 lib/github_api/descendants.rb
github_api-0.7.2 lib/github_api/descendants.rb
github_api-0.7.1 lib/github_api/descendants.rb
github_api-0.7.0 lib/github_api/descendants.rb
github_api-0.6.5 lib/github_api/descendants.rb