/gem-consolidate

Preprocess `require` like `#include`

Primary LanguageRubyMIT LicenseMIT

gem-consolidate

Preprocess require like #include.

install

git clone https://github.com/jethrodaniel/gem-consolidate
cd gem-consolidate
bundle && bundle exec rake

usage

 cat <(./gem-consolidate.rb msh) <(echo Msh.start) > msh.rb && ruby msh.rb -V

limitations

Only literal requires or require_relatives followed by a string will be processed.