Path to this page:
./
devel/ruby-polyglot,
Registry of file types to load with its improved version of require
Branch: pkgsrc-2021Q1,
Version: 0.3.5,
Package name: ruby26-polyglot-0.3.5,
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:
SHA1: 7fcefa7d3b605d9c51304a4d65e0b8fae04970de
RMD160: 8f5260ffec2774621d474a40824ae24bc806112e
Filesize: 8 KB
Version history: (Expand)
- (2021-03-30) Package added to pkgsrc.se, version ruby26-polyglot-0.3.5 (created)