C
Chris Chris
Hi,
a simple question, however I did not find an answer for this:
How can I put a statement like
if 5 == 5
puts '5'
end
in one line?
Just writing them all statements together in one line didn't work,
and a syntax like if 5 == 5 {puts '5'} end didn't either.
Thanks for your help.
CHeers, CHris
a simple question, however I did not find an answer for this:
How can I put a statement like
if 5 == 5
puts '5'
end
in one line?
Just writing them all statements together in one line didn't work,
and a syntax like if 5 == 5 {puts '5'} end didn't either.
Thanks for your help.
CHeers, CHris