Suppose I perform a method
a.kung_fu_this
And the method kung_fu_this returns an OpenStruct as a response in console. How would I access that information?
For example, lets say it returned an OpenStruct such as :
>> a.kung_fu_this
=> {Car: 'Mazda', Wood: 'Maple'}
Hpw can I capture that return and use it in another method?
simply create a new variable and assign it the return of you method call,