reverse_require requires specific files from the gems which depend on a certain RubyGem and contain the specified path. Using reverse_require one can allow others to easily extend the functionality of a RubyGem. Simply add reverse_require into the code of your RubyGem: reverse_require 'my_gem', 'some/path' Then other gems which depend upon +my_gem+ merely have to provide <tt>some/path</tt> within their <tt>lib/</tt> directory, and reverse_require will load them all at run-time. This ability makes designing plug-in systems for a RubyGem trivial.

installgem install reverserequire

Postmodern Modulus III

2,398 total downloads 1,229 for this version


gem 'reverserequire', '~> 0.1.0'
  1. 0.1.0 April 24, 2008 (6 KB)
  2. 0.0.9 April 13, 2008 (5.5 KB)
Runtime Dependencies
  1. hoe >= 1.5.1