[](name)
Instance Public methods
Returns the value of a member.
person = OpenStruct.new('name' => 'John Smith', 'age' => 70) person[:age] # => 70, same as ostruct.age
Returns the value of a member.
person = OpenStruct.new('name' => 'John Smith', 'age' => 70) person[:age] # => 70, same as ostruct.age
Please login to continue.