Possible Duplicate:
How do I convert a Ruby string with brackets to an array?
In ruby, how to transform a string to an array when this string looks-like an array declaration? Is there an equivalent of "eval" methods? I would like to avoid the split method is this case.
Eg.
myString = "[['joey','male','[email protected]],['jenny','female','[email protected]']]"