This is my array:
array = [:one,:two,:three]
I want to apply to_s method to all of my array elements to get array = ['one','two','three'].
How can I do this (converting each element of the enumerable to something else)?
This is my array:
array = [:one,:two,:three]
I want to apply to_s method to all of my array elements to get array = ['one','two','three'].
How can I do this (converting each element of the enumerable to something else)?