阅读背景:

什么时候在Ruby中使用单引号字符串而不是双引号字符串?

来源:互联网 

Ruby newbie here, and I understand that single-quote strings will not allow interpolation and will ignore most escape sequences. I'm just looking for some actual examples of when you might want to use single-quote strings as opposed to double-quote strings.Ruby newbie here, and I understand that single-




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: