Method: Erubis::BlockAwareEnhancer#add_stmt2

Defined in:
lib/merb-core/controller/template.rb

#add_stmt2(src, code, tailch) ⇒ Object

:api: private



277
278
279
280
281
# File 'lib/merb-core/controller/template.rb', line 277

def add_stmt2(src, code, tailch)
  src << code
  src << ") ).to_s; " if tailch == "="
  src << ';' unless code[-1] == ?\n
end