Eric Hodel wrote:
> 
> This should be easy enough to do by overwriting $stdout with an
> object that writes to _erbout (or whatever it is) while in an erb
> template.

hm, that's interesting, the program "erb" can already take

  puts "string"

and output it...

but in a somewhat funny order:


<%= "haha" %>

<% puts "so how about this?" %>

C:\rails\depot>erb try_erb.txt
so how about this?

haha

However, when I use puts "string" in index.rhtml on RoR, it won't get 
displayed.  So RoR actually uses eRuby but not erb, and both are just 
called "Embedded Ruby" as "ERb"?

So my original question becomes, can we have those two features added to 
eRuby.  (for RoR and for server side scripting language)



-- 
Posted via http://www.ruby-forum.com/.