Strategy Pattern in Ruby