Extend ruby to acept pattern matching.