Mega Code Archive
Categories
/
Ruby
/
Language Basics
Operator is or
# When you use || or or, if any of the statements are true, the code executes: ruby = "nifty" programming = "fun" if ruby == "nifty" or programming == "fun" puts "or!" end