Module: Erubis::NoCodeEnhancer

Module | Erubis::NoCodeEnhancer
In: | lib/erubis/enhancer.rb

remove code and leave text, especially useful when validating HTML tags.

ex.

      $ erubis -s -E NoCode file.eruby | tidy -errors

this is language independent.

### Methods

add_expr add_postamble add_preamble add_stmt add_text

### Public Instance methods

add_expr(src, code, indicator)
add_postamble(src)
add_preamble(src)
add_stmt(src, code)
add_text(src, text)

[Validate]