./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-2010Q3, Version: 0.3.1, Package name: ruby18-polyglot-0.3.1, 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/ruby18-base] [devel/hoe]

Master sites:

SHA1: 28c2d98d4151d25ee400e0fcc13c79ac456142b1
RMD160: 1a868f1750314e60547e4f2fa23dde4335d21ede
Filesize: 6.5 KB

Version history: (Expand)