Backslash in Ruby conditional statement -


i browsing code , spotted this:

stem = ""  answer = ""  return if stem.nil? || answer.nil? || \           stem.question == answer.question 

what \ for? know \ used in strings, i've never seen use-case before. syntax error or advanced ruby syntax? missing something?

it's useless line-continuation character.

the question "is syntax error" seems pretty simple discover.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

c# - Abstract method in public abstract class implementing an internal interface doesn't compile? -

authentication - Mongodb revoke acccess to connect test database -