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
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/rubygem-ostruct | 0.6.1 |
| FreeBSD | devel/rubygem-ostruct | 0.6.3 |
| DragonFly | devel/rubygem-ostruct | 0.6.1 |
| HardenedBSD | devel/rubygem-ostruct | 0.6.3 |
| GhostBSD | devel/rubygem-ostruct | 0.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
| File | Size | SHA256 |
|---|---|---|
| rubygem/ostruct-0.6.1.gem | 12800 | 09a3fb7ecc1fa4039f25418cc05ae9c82bd520472c5c6a6f515f03e4988cb817 |
Master sites 1
- RG