The key bit of syntax in this code is this line: class << bto Essentially, this code is an instruction to modify the behavior of the bto object independently of its class. You can achieve the same effect with a different syntax by simply defining the methods on the instance:

