SyntaxFix
Write A Post
Hire A Developer
Questions
You can use \ to indicate that any line of Ruby continues on the next line. This works with strings too:
\
string = "this is a \ string that spans lines" puts string.inspect
will output "this is a string that spans lines"
"this is a string that spans lines"