$ erubis -xE PercentLine percentline-example.rhtml _buf = ''; _buf << ' % lines with \'%%\' '; _buf.to_s