Code from Practical OO Design in Ruby