Ruby Inheritance/Macro Example