Hacker News new | past | comments | ask | show | jobs | submit login

it works in ruby without pattern matching, thanks to ruby's switch statement design where `switch a: case b` invokes `b.match(a)`



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: