Path to this page:
./
devel/ruby-polyglot,
Registry of file types to load with its improved version of require
Branch: pkgsrc-2022Q4,
Version: 0.3.5,
Package name: ruby31-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:
Filesize: 8 KB
Version history: (Expand)
- (2022-12-27) Package added to pkgsrc.se, version ruby31-polyglot-0.3.5 (created)