Method: Texas::Template::Helper::TeX#relative_template_basename

Defined in:
lib/texas/template/helper/tex.rb

#relative_template_basename(path) ⇒ Object

Returns a path relative to the build_path and strips the template extension

Example:

relative_template_basename("/home/rene/github/sample_project/tmp/build/contents.tex.erb")
# => "contents"


70
71
72
# File 'lib/texas/template/helper/tex.rb', line 70

def relative_template_basename(path)
  Template.basename relative_template_filename(path)
end