Track descendants of a class
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
spec
.gitignore
.rspec
.ruby-gemset
.travis.yml
CONTRIBUTING.md
Gemfile
Gemfile.devtools
Guardfile
LICENSE
README.md
Rakefile
TODO
descendants_tracker.gemspec

README.md

descendants_tracker

Gem Version Build Status Dependency Status Code Climate Coverage Status

Small module to track descendants in an unobtrusive way.

Examples

class Foo
  extend DescendantsTracker
end

class Bar < Foo
end

Foo.descendants # => [Bar]

Credits

Contributing

See CONTRIBUTING.md for details.

Copyright

Copyright © 2012-2013 Dan Kubb (author) Copyright © 2011-2012 Piotr Solnica (source maintainer) Copyright © 2012 Markus Schirp (packaging)

See LICENSE for details.