remove code and leave text, especially useful when validating HTML tags.
ex.
$ erubis -s -E NoCode file.eruby | tidy -errors
this is language independent.
# File lib/erubis/enhancer.rb, line 317 def add_expr(src, code, indicator) src << "\n" * code.count("\n") end
# File lib/erubis/enhancer.rb, line 310 def add_postamble(src) end
# File lib/erubis/enhancer.rb, line 307 def add_preamble(src) end
Generated with the Darkfish Rdoc Generator 2.