./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-2011Q3, Version: 0.3.2, Package name: ruby19-polyglot-0.3.2, 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:
[lang/ruby19-base]

Master sites:

SHA1: 6526d326a248252f9856238cfd5d9be4fca41756
RMD160: 7b7aeee43761438fc712dc7d54334ab08043a97a
Filesize: 15.5 KB

Version history: (Expand)