devel/rubygem-constant_resolver 0.2.0 DragonFly
Resolve any constant to the path of the file that defines it
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel, rubygems
- Package size
- 11.8 KiB, 35.6 KiB installed
Description
ConstantResolver resolves partially qualified constant reference to the fully qualified name and the path of the file defining it. It does not load the files to do that, its inference engine purely works on file paths and constant names.
ConstantResolver uses the same assumptions as Rails' code loader, Zeitwerk to infer constant locations. Please see Zeitwerk's documentation on file structure and inflection for more information.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-constant_resolver | 0.2.0 |
| FreeBSD | devel/rubygem-constant_resolver | 0.3.0 |
Install
Binary package:
pkg install rubygem-constant_resolver
From DPorts:
cd /usr/dports/devel/rubygem-constant_resolver && make install clean