How to create a symbol from a string that has whitespaces?

前端 未结 4 1007
南笙
南笙 2021-02-05 14:35

I am creating a Ruby hash for movie names storage.

When the hash\'s keys are strings that contains whitespaces, it works just fine.

As in:

movies =

4条回答
提交回复
热议问题