./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-2013Q4, Version: 0.3.3, Package name: ruby193-polyglot-0.3.3, Maintainer: pkgsrc-users

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/ruby193-base]

Master sites: (Expand)

SHA1: 5ae5a65dd058a5c9a02f1fe02707031dd0d3c8a8
RMD160: a8353d3e63477ab3d803e5eeede6c2d39c874e81
Filesize: 6.5 KB

Version history: (Expand)