From: James Edward Gray II Date: 2006-03-29T23:53:54+09:00 Subject: Re: strange order of execution On Mar 29, 2006, at 8:43 AM, vsv wrote: > reader it would be, when you can get result after _read_; > now in Ruby: >>> gets > "#{2+2}" > => "\"\#{2+2}\"\n" > string was read and returned unmodified; >> require "erb" => true >> ruby_code = "<%= 2 + 2 %>" => "<%= 2 + 2 %>" >> template = ERB.new(ruby_code) => # >> template.result => "4" ? James Edward Gray II