0
我道歉,我相信答案是在那里,但我根本无法表达它不够好,谷歌的搜索..如何在代码中添加一行红宝石
鉴于长一段代码
puts 'This is a really long line of ruby code here'
你怎么能在2线分开的,即
puts 'This is a really long
line of ruby code here'
我道歉,我相信答案是在那里,但我根本无法表达它不够好,谷歌的搜索..如何在代码中添加一行红宝石
鉴于长一段代码
puts 'This is a really long line of ruby code here'
你怎么能在2线分开的,即
puts 'This is a really long
line of ruby code here'
str = 'first line'\
' second line'\
' third line'
puts str