method

new_ostruct_member

new_ostruct_member(name)
protected

Used internally to defined properties on the OpenStruct. It does this by using the metaprogramming function define_singleton_method for both the getter method and the setter method.