Helicopter
Helicopter turns your classes into helicopters, allowing them to keep track of their children.
Helicopter only makes classes track their direct children.
Installation
Add this line to your application's Gemfile:
gem 'helicopter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install helicopter
Usage
require 'helicopter'
class Foo
extend Helicopter
end
class Bar < Foo
end
Foo.subclasses #=> [Bar]