class Tilt::BaseMapping

def new(file, line=nil, options={}, &block)

Other tags:
    See: Tilt::Template.new -

Raises:
  • (RuntimeError) - if there is no template class registered for the
def new(file, line=nil, options={}, &block)
  if template_class = self[file]
    template_class.new(file, line, options, &block)
  else
    fail "No template engine registered for #{File.basename(file)}"
  end
end