class SuperProduct def initialize(product) @product = product end def template_method() abstract_method() end def abstract_method() raise 'Abstract method' end end