Basic multidispatch in Ruby using natural syntax