BSD Ports

devel/rubygem-arrayfields 4.9.2 MidnightBSD

Allow Keyword Access to Array Instances

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2, ruby
Categories
devel, rubygems

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

SystemPortVersion
MidnightBSDdevel/rubygem-arrayfields4.9.2
FreeBSDdevel/rubygem-arrayfields4.9.2
DragonFlydevel/rubygem-arrayfields4.9.2

Install

Binary package:

mport install arrayfields

From mports:

cd /usr/mports/devel/rubygem-arrayfields && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	arrayfields>0:devel/rubygem-arrayfields

Dependencies

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/arrayfields-4.9.2.gem194561593f0bac948e24aa5e5099b7994b0fb5da69b6f29a82804ccf496bc125de4ab
Master sites 1
  • RG