DEV Community

Discussion on: 49 Days of Ruby: Day 26 - Pattern Matching

Collapse
 
codeandclay profile image
Oliver

Thanks for the introduction. Pattern matching is completely new to me. What would some real-world use cases be?

Also, should x in the second example evaluate to "Earl Gray"?