./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-2014Q1, Version: 0.3.4, Package name: ruby200-polyglot-0.3.4, 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.


Master sites: (Expand)

SHA1: e94ec3700a4970f17680624089f6c22c1098a8b1
RMD160: ecb0c325cf2a6462f22993c5630d2c8679c38cb8
Filesize: 8 KB

Version history: (Expand)