./devel/ruby-polyglot, Registry of file types to load with its improved version of require

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2009Q4, Version: 0.2.9, Package name: ruby18-polyglot-0.2.9, Maintainer: filip

Polyglot provides a registry of file types that can be loaded by calling
its improved version of 'require'. Each file extension that can be handled
by a custom loader is registered by callingPolyglot.register("ext", <class>),
and then you can simply require "somefile", which will find and load
"somefile.ext" using your custom loader.


Required to run:
[devel/hoe]

Master sites:

SHA1: 2848efd9ebb61477d55c16d9ea25298bbd3e5f8f
RMD160: df62129dac19d72162972f92a1dedba404f829d1
Filesize: 7 KB

Version history: (Expand)