method

new_ostruct_member!

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: OpenStruct
new_ostruct_member!(name) private

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.

Show source
Register or log in to add new notes.