Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby if else

if true
  "if statement"
elsif false
  "else if, optional"
else
  "else, also optional"
end
 
PREVIOUS NEXT
Tagged: #ruby
ADD COMMENT
Topic
Name
2+9 =