On Aug 19, 2005, at 4:03 AM, Lyndon Samson wrote: > Maybe replace _erbout with an IO object ( including StringIO? ) > > then you could have explicit _erbout.puts calls It already works to have explcit _erbout.concat or _erbout.<< calls; the desire here is not one of functionality, but instead of having the raw print and puts methods work as many people expect them to inside an ERB template.