Flowdock
method

descendants

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::DescendantsTracker
descendants(klass) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/descendants_tracker.rb, line 11
    def self.descendants(klass)
      @@direct_descendants[klass].inject([]) do |descendants, _klass|
        descendants << _klass
        descendants.concat _klass.descendants
      end
    end
Register or log in to add new notes.