Module Erubis::SimplifyEnhancer
In: lib/erubis/enhancer.rb

get convert faster, but spaces around ’<%…%>’ are not trimmed.

this is language-independent.

Methods

convert  

Constants

SIMPLE_REGEXP = /<%(=+|\#)?(.*?)-?%>/m   DEFAULT_REGEXP = /(^[ \t]*)?<%(=+|\#)?(.*?)-?%>([ \t]*\r?\n)?/m

Public Instance methods

[Validate]