Skip to navigation

Question:
Does Ruby has the Ternary Operator?

Use simple algorithms as well as simple data structures.