template_exists?(template_path, extension)
private
Asserts the existence of a template.
Show source
def template_exists?(template_path, extension)
file_path = full_template_path(template_path, extension)
!file_path.blank? && @@method_names.has_key?(file_path) || FileTest.exists?(file_path)
end