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.

Required Ruby Version

None

Authors

Postmodern Modulus III

Versions

  1. 0.1.0 April 24, 2008* (6 KB)
  2. 0.0.9 April 13, 2008* (5.5 KB)

SHA 256 checksum