Ruby's Switch Statement is More Flexible Than You Thought

Henry Catalini Smith

Ruby's Switch Statement is More Flexible Than You Thought

Ruby's switch statement is very versatile and flexible, especially due to the dynamic nature of Ruby. This post shows how it works with examples.

Bookmark

Back in 2012 when I hadn’t discovered Ruby yet I was already basically trying to make the languages I did know work like Ruby.