阅读背景:

在Ruby中,在多行中分割长字符串,而不剥离新行

来源:互联网 

We recently decided at my job to a ruby style guide. One of the edicts is that no line should be wider than 80 characters. Since this is a Rails project, we often have strings that are a little bit longer - i.e. "User X wanted to send you a message about Thing Y" that doesn't always fit within the 80 character style limit. We recently decided at my job to a ruby style g




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

分享到: