Path to this page:
./
devel/ruby-polyglot,
Registry of file types to load with its improved version of require
Branch: pkgsrc-2014Q1,
Version: 0.3.4,
Package name: ruby200-polyglot-0.3.4,
Maintainer: pkgsrc-usersPolyglot 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)
- (2014-04-04) Package has been reborn
- (2014-04-03) Package added to pkgsrc.se, version ruby200-polyglot-0.3.4 (created)