Pattern Matching in Ruby

Ruby