class BaseTemplate

def self.inherited(klass)

def self.inherited(klass)
  @template_classes ||= []
  @template_classes << klass
end

def self.template_classes

def self.template_classes
  @template_classes
end

def initialize

def initialize
end

def render(obj = Object.new, locals = {})

We're ignoring locals for now. Shut up.
def render(obj = Object.new, locals = {})
  output = template.result(obj.instance_eval {binding})
end

def template

def template
  raise "You chilluns need to make your own template"
end