How to convert string to openstruct

772 Views Asked by At

I have a string which is an openstruct object. How can I convert it to again to an openstruct?

#<OpenStruct gmail=#<Gmail::Client0xbe112w ([email protected]) connected>>

This is a string how can I again convert it to the openstruct object, so that I can access the value

List item
0

There are 0 best solutions below