How to convert an array of strings into values?

前端 未结 0 1301
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 05:11

How can I easily convert

a = [ "b", "c", "d" ]

into

a = [ :b, :c, :d ]

and vice

相关标签:
回答
  • 消灭零回复
提交回复
热议问题