Class: Texas::Template::Runner::TeX

Inherits:
Base
  • Object
show all
Includes:
Helper::TeX
Defined in:
lib/texas/template/runner/tex.rb

Instance Attribute Summary

Attributes inherited from Base

#build, #content, #filename

Instance Method Summary collapse

Methods included from Helper::TeX

#auto_link, #bold, #h1, #h2, #h3, #h4, #input, #input!, #italic, #linebreak, #quote, #write_template_for_input

Methods inherited from Base

#__path__, #__render__, #__run__, #after_write, #append_to_output, #build_path, #document, #initialize, #o, #root, #store, #write

Methods included from Helper::Info

#abstract, #info, #marked_for_rewrite?, #summary

Methods included from Helper::Base

#default_search_paths, #find_template_file, #find_template_file!, #partial, #path_with_templates_basename, #render, #render_as_array, #template_extensions, #templates_by_glob

Constructor Details

This class inherits a constructor from Texas::Template::Runner::Base

Instance Method Details

#after_render(output) ⇒ Object



6
7
8
# File 'lib/texas/template/runner/tex.rb', line 6

def after_render(output)
  output.gsub(/^%(.+)$/, '')
end