def compile(context)
      if template_content
        ERB.new(template_content, 0, '-').result(context)
      else
        raise TemplateNotFound.new(@file, @path.absolute_paths)
      end
    end
def compile(context)
      if template_content
        ERB.new(template_content, 0, '-').result(context)
      else
        raise TemplateNotFound.new(@file, @path.absolute_paths)
      end
    end
Public: creates a new template instance.

 template_file - the basename of the template file.
 Public: compiles the template content to an effective snippet, ready to use.

 context - a `Binding` object to be used as context in the template compilation.

 Returns a string with the compiled template.