module Temple::Mixins::Template

def create(engine, options)

def create(engine, options)
  register_as = options.delete(:register_as)
  template = Class.new(self)
  template.disable_option_validator!
  template.options[:engine] = engine
  template.options.update(options)
  template.register_as(*register_as) if register_as
  template
end