Marnen Laibow-Koser wrote in post #969841:
> You're using eval (almost never necessary in Ruby --
> send is usually what you want).

How in Ruby does one create a variable and then set a value for it
without using eval?

That is, I have a string named "xyz" and I want to create a variable
named xyz and assign the string "abc" to it.

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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to