Home
Press ? for keyboard navigation
❮
Interpolation with expression
Ruby conditionals - if else statement
❯
if
Ruby conditionals - if statement
examples/intro/if.rb
x
=
2
if
x
>
1
puts
"x is bigger than 1"
end
if
x
>
3
puts
"x is bigger than 3"
end
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)