Skip to content

ajm188/helicopter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

Turn ruby classes into helicopter parents

Resources

License

Stars

Watchers

Forks

Packages

No packages published