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)?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…