Switch Statement Pattern Matching In Ruby