# File lib/ruby-vpi/erb.rb, line 14 14: def initialize aInput, *aArgs 15: # ensure that only <%= ... %> tags generate output 16: input = aInput.gsub %r{<%=.*?%>}m do |s| 17: if ($' =~ /\r?\n/) == 0 18: s << $& 19: else 20: s 21: end 22: end 23: 24: aArgs[1] = '>' 25: 26: original_initialize input, *aArgs 27: end