Project

helicopter

0.0
No commit activity in last 3 years
No release in over 3 years
Helicopter allows a class to keep track of its children.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8
>= 0
~> 10.0
 Project Readme

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]