BSD Ports

devel/rubygem-ostruct 0.6.1 DragonFly

Class to build custom data structures, similar to a Hash

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, RUBY
Categories
devel, rubygems
Package size
9.0 KiB, 28.0 KiB installed

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
DragonFlydevel/rubygem-ostruct0.6.1
FreeBSDdevel/rubygem-ostruct0.6.3
MidnightBSDdevel/rubygem-ostruct0.6.1

Install

Binary package:

pkg install rubygem-ostruct

From DPorts:

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

Dependencies

Run dependencies 2