method
new_ostruct_member
v1_9_3_392 -
Show latest stable
- Class:
OpenStruct
new_ostruct_member(name)public
new_ostruct_member is used internally to defined properties on the OpenStruct. It does this by using the metaprogramming function define_method for both the getter method and the setter method.