module Tilt

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

to determine the the template mapping.
Create a new template for the given file using the file's extension
def self.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