Ruby - Control Flow
Why does Ruby's case/when statement use the === operator internally to compare values?
Why does Ruby's case/when statement use the === operator internally to compare values?
=== to allow matching with ranges, classes, regex, and other flexible comparisons.== checks equality, but === is more flexible and used internally by case.=== allows flexible matching like ranges and classes -> Option C15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions