devel/ruby-polyglot 0.3.5 NetBSD
Registry of file types to load with its improved version of 'require'
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, ruby
- Package size
- 12.7 KiB, 25.0 KiB installed
Description
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.
Install
Binary package:
pkgin install ruby33-polyglot
From pkgsrc:
cd /usr/pkgsrc/devel/ruby-polyglot && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.3.5 |
| NetBSD 10.1 aarch64 | 0.3.5 |
| SmartOS / illumos x86_64 | 0.3.5 |
| macOS 15 arm64 | 0.3.5 |
Dependencies
Run dependencies 1
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
ruby34-polyglot-0.3.5,ruby40-polyglot-0.3.5