An example of the Adapter Pattern in Ruby