Comprehensive Ruby Programming
上QQ阅读APP看书,第一时间看更新

Missing quotation marks

In the preceding code, I tried to simply declare a string without wrapping it in quotation marks. As you can see, this results in an error. This error is because Ruby thinks that the values are classes and methods.