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, #relative_template_basename, #relative_template_filename, #tex, #write_template_for_input

Methods inherited from Base

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

Methods included from Helper::Info

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

Methods included from Helper::Base

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

Methods included from OutputHelper

#trace, #verbose, #warning

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