From: "David A. Black" Date: 2009-02-04T07:27:12+09:00 Subject: Re: Call a Function Hi -- On Wed, 4 Feb 2009, Matthew Moss wrote: > > On Feb 3, 2009, at 4:00 PM, Dominik Honnef wrote: > >> >>> Convert the string to a symbol and send it to the appropriate object. >> That isn't even necessary, sending a string works just as fine. > > Yeah, after the fact, I tried it like you say. For some reason, I had the > impression that strings didn't auto-convert to symbols. The documentation is misleading; it specifies the argument as a symbol, but it can be either. (And I consider that a feature; I don't think it's just working by chance.) David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) http://www.wishsight.com => Independent, social wishlist management!