michele
10/26/2006 7:36:00 PM
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" <gavin.kist...@anark.com> 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.