Home
Press ? for keyboard navigation
❮
Ruby conditionals - if statement
Ruby path to current script
❯
else
Ruby conditionals - if else statement
examples/intro/if-else.rb
x
=
1
y
=
2
if
x
==
y
puts
"They are equal"
else
puts
"They are not equal"
end
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)