[Wtr-general] Need help populating a field array using variables
Zeljko Filipin
zeljko.filipin at gmail.com
Thu Jul 6 05:13:46 EDT 2006
#{} inside double quoted strings lets you include variables in
strings. Like this:
irb(main):001:0> a = 1
=> 1
irb(main):004:0> "a = #{a}"
=> "a = 1"
I just performed a google search for #{} and "#{}" (without quotes and
with quotes) and got very interesting results. No match. I do not
think I have ever seen it before. :)
After a quick test, it looks to me that all queries including only
punctuation result in no match. Interesting.
More information about the Wtr-general
mailing list