Difference between “or” and || in Ruby? [duplicate] by IT Nursery What’s the difference between the or and || operators in Ruby? Or is it just preference? 8 Answers 8