Re: [Rails] Re: variable symbol
On 3 July 2012 13:04, Aleksey V Zapparov <ixti@member.fsf.org> wrote:
> I don't speak Deutsch, but I guess I understood you. Sorry it was my
> mistake (copy-paste is evil):
>
> us.bslnk.send :"#{tst}=" false
You're probably going to need a comma in there to separate the
parameters being passed to .send
us.bslnk.send :"#{tst}=", false
It may be clearer in this instance to be explicit with parantheses:
us.bslnk.send(:"#{tst}=", false)
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home