Ruby Load Wedges
I’d like to introduce you to Wedge, a library for creating Ruby “load wedges” that safely override #require and #load. Wedge gives you complete flexibility in creating any kind of loader. Wedge comes with two built-in wedges: the Ruby Wedge and the Gem Wedge, both of which are used to circumvent name clashes between libraries. Also checkout gem-wedge which turns Wedge’s Gem wedge into a RubyGems plugin.
Post a comment