Class: Erubis::PI::Ec

Inherits:
Engine show all
Includes:
CGenerator
Defined in:
lib/erubis/engine/ec.rb

Overview

class XmlEc < Ec

include EscapeEnhancer

end

Instance Attribute Summary

Attributes included from Generator

#escapefunc

Attributes included from Converter

#pi, #prefix

Attributes included from Converter

#escape, #postamble, #preamble

Attributes included from Evaluator

#filename, #src

Instance Method Summary collapse

Methods included from CGenerator

#add_expr_debug, #add_expr_escaped, #add_expr_literal, #add_postamble, #add_preamble, #add_stmt, #add_text, #escape_text, #escaped_expr, #init_generator, supported_properties

Methods included from Generator

#add_expr_debug, #add_expr_escaped, #add_expr_literal, #add_postamble, #add_preamble, #add_stmt, #add_text, #escape_text, #escaped_expr, #init_generator, supported_properties

Methods included from Converter

#convert, desc, supported_properties

Methods included from Converter

#convert, supported_properties

Methods included from Evaluator

#evaluate, #init_evaluator, #result, supported_properties

Methods inherited from Engine

#convert!, #initialize, load_file, #process, #process_proc

Constructor Details

This class inherits a constructor from Erubis::Engine

Instance Method Details

#init_converter(properties = {}) ⇒ Object



109
110
111
112
# File 'lib/erubis/engine/ec.rb', line 109

def init_converter(properties={})
  @pi = 'c'
  super(properties)
end