regards lines starting with '%' as program code
this is for compatibility to eruby and ERB.
this is language-independent.
# File lib/erubis/enhancer.rb, line 516 def add_text(src, text) unless @prefixrexp @prefixchar = '%' @prefixrexp = /^\%(.*?\r?\n)/ end super(src, text) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.