method
new_ostruct_member
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.