Displaying 1 result from an estimated 1 matches for "n_erbout".
Did you mean:
_erbout
2006 Jul 25
3
about ERB sample
...EOF
6. puts template.result(binding)
the doc say it will print
"The value of x is: 42"
but my irb print "nil" and there is a
"=> #<ERB:0x2970b24 @src="_erbout = ''''; _erbout.concat \" The value of x
is: \\n\"\n_erbout", @filename=nil, @safe_level=nil>"
at the end of 5th line.
Why?hun..
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060725/709f7172/attachment.html