aboutsummaryrefslogtreecommitdiff
path: root/devel/rubygem-ostruct/pkg-descr
blob: 47e917348f8afdce80906f2c02ce32e11941ce56 (plain) (blame)
1
2
3
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.