From: michele Date: 2006-10-27T04:40:18+09:00 Subject: Re: What's the difference between send and instance_eval? Thanks alot, you nice Ruby-people. One last question: Is it the Ruby language that make programmers be good, or is it that good people are drawn too the Ruby language? On Oct 26, 9:24 pm, "Gavin Kistner" wrote: > > I may not understand it well, but I don't like it. The two methods are > > so similar that the only way to figure out the difference is to find > > cases that will make it hard or impossible to use one of them. It > > should be easy to choose which method to use, not hard to figure out > > which one not to use.OK, here you go: > * Use send when you want to invoke a method, but you have a variable > holding the name of a method. > * Use instance_eval when you want to muck about with the internals of an > object.