From: Gavin Kistner Date: 2005-08-19T22:26:26+09:00 Subject: Re: #puts inside ERB 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.