method
new_ostruct_member
Ruby latest stable (v1_9_3_392)
-
0 notes -
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.


