This post was originally published at An Array of Possibilities: A Guide to Ruby Pattern Matching

Pattern matching is a powerful tool commonly found in functional programming languages. The Ruby 2.7 release is going to include this feature.

In this article, Toptal Ruby Developer Noppakun Wongsrinoppakun provides a breakdown of what this addition will include and why it matters.

See the article here: 

This post was originally published at An Array of Possibilities: A Guide to Ruby Pattern Matching