class Temple::Generators::StringBuffer

_buf
end
_buf << “more static”
block do
_buf << dynamic.to_s
_buf << “static”
_buf = ”
Implements a string buffer.

def on_dynamic(code)

def on_dynamic(code)
  concat("(#{code}).to_s")
end

def preamble

def preamble
  "#{buffer} = ''"
end