class Erubi::CaptureEndEngine

def initialize(input, properties={})

and therefore a different object will be returned.
are cases where the last expression will not be the buffer,
expression. Normally the buffer will be returned anyway, but there
the block, and therefore have the buffer be returned by the yield
<%| end %> tags will have the buffer be the last expression inside
:yield_returns_buffer :: Whether to have <%| tags insert the buffer as an expression, so that
defaults to the same value as :escape.
:escape_capture :: Whether to make <%|= escape by default, and <%|== not escape by default,
additional options:
Initializes the engine. Accepts the same arguments as ::Erubi::Engine, and these
def initialize(input, properties={})
  properties = Hash[properties]
  escape = properties.fetch(:escape){properties.fetch(:escape_html, false)}
  @escape_capture = properties.fetch(:escape_capture, escape)
  @yield_returns_buffer = properties.fetch(:yield_returns_buffer, false)
  @bufval = properties[:bufval] ||= '::String.new'
  @bufstack = '__erubi_stack'
  properties[:regexp] ||= /<%(\|?={1,2}|-|\#|%|\|)?(.*?)([-=])?%>([ \t]*\r?\n)?/m
  super
end