Class: Erubis::PI::Ephp

Inherits:
Engine show all
Includes:
Erubis::PhpGenerator
Defined in:
lib/erubis/engine/ephp.rb

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 Erubis::PhpGenerator

#add_expr_debug, #add_expr_escaped, #add_expr_literal, #add_postamble, #add_preamble, #add_stmt, #add_text, #escape_text, #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



92
93
94
95
# File 'lib/erubis/engine/ephp.rb', line 92

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