devel/rubygem-arrayfields 4.9.2 DragonFly
Allow Keyword Access to Array Instances
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD2CLAUSE, RUBY
- Categories
- devel, rubygems
- Package size
- 14.6 KiB, 54.8 KiB installed
Description
arrayfields allow keyword access to array instances. arrayfields works by adding only a few methods to arrays, namely #fields= and fields, but the #fields= method is hooked to extend an array on a per object basis.In otherwords __only__ those arrays whose fields are set will have auto-magical keyword access bestowed on them - all other arrays remain unaffected.arrays with keyword access require much less memory when compared to hashes/objects and yet still provide fast lookup and preserve data order.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/rubygem-arrayfields | 4.9.2 |
| FreeBSD | devel/rubygem-arrayfields | 4.9.2 |
| MidnightBSD | devel/rubygem-arrayfields | 4.9.2 |
Install
Binary package:
pkg install rubygem-arrayfields
From DPorts:
cd /usr/dports/devel/rubygem-arrayfields && make install clean