BSD Ports

devel/rubygem-ostruct 0.6.1 MidnightBSD

Class to build custom data structures, similar to a Hash

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

Description

An OpenStruct is a data structure, similar to a Hash, that allows the definition of arbitrary attributes with their accompanying values. This is accomplished by using Ruby's metaprogramming to define methods on the class itself.

In the other systems

SystemPortVersion
MidnightBSDdevel/rubygem-ostruct0.6.1
FreeBSDdevel/rubygem-ostruct0.6.3
DragonFlydevel/rubygem-ostruct0.6.1
HardenedBSDdevel/rubygem-ostruct0.6.3
GhostBSDdevel/rubygem-ostruct0.6.3

Install

Binary package:

mport install ostruct

From mports:

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

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

RUN_DEPENDS=	ostruct>0:devel/rubygem-ostruct

Dependencies

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/ostruct-0.6.1.gem1280009a3fb7ecc1fa4039f25418cc05ae9c82bd520472c5c6a6f515f03e4988cb817
Master sites 1
  • RG