method

new_ostruct_member

v2_1_10 - Show latest stable - Class: OpenStruct
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.