Class: Erubis::OptimizedXmlEruby
- Inherits:
-
OptimizedEruby
- Object
- Basic::Engine
- OptimizedEruby
- Erubis::OptimizedXmlEruby
- Includes:
- EscapeEnhancer
- Defined in:
- lib/erubis/engine/optimized.rb
Overview
XmlEruby class which generates optimized ruby code
Instance Attribute Summary
Attributes included from Generator
Attributes included from Evaluator
Instance Method Summary collapse
Methods included from EscapeEnhancer
Methods inherited from OptimizedEruby
Methods included from OptimizedGenerator
#init_generator, supported_properties
Methods included from Generator
#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 RubyEvaluator
#def_method, #evaluate, #result, supported_properties
Methods included from Evaluator
#evaluate, #init_evaluator, #result, supported_properties
Instance Method Details
#add_expr_debug(src, code) ⇒ Object
120 121 122 123 |
# File 'lib/erubis/engine/optimized.rb', line 120 def add_expr_debug(src, code) switch_to_stmt(src) if indicator == '===' && !@initialized super end |