Class: EngineOfWar::TemplateEngines::Textile

Inherits:
Tilt::RedClothTemplate
  • Object
show all
Includes:
Filters
Defined in:
lib/engine_of_war/template_engines/textile.rb

Constant Summary

Constants included from Filters

Filters::BASE_IMAGE_URL

Instance Method Summary collapse

Methods included from Filters

#block_is_template?, #code_filter, #image_basedir, #image_directory_exists?, #image_filter, #meta_for_image, #unknown_image_tag, #uploaded_image_tag

Instance Method Details

#prepareObject



6
7
8
9
# File 'lib/engine_of_war/template_engines/textile.rb', line 6

def prepare
  @engine = RedCloth.new(image_filter(code_filter(data)))
  @output = nil
end