From: "Jesús Gabriel y Galán" Date: 2009-11-24T02:13:56+09:00 Subject: Re: More on psuedo arrays; Better way? On Mon, Nov 23, 2009 at 5:06 PM, Brian Candler wrote: > Jesús Gabriel y Galán wrote: >> if you call send with the string, I don't know if a symbol >> is created inside that call or not. > >>> Symbol.all_symbols.find { |x| x.to_s == "baz" } > => nil >>> send("baz") > NoMethodError: undefined method `baz' for main:Object >        from (irb):4:in `send' >        from (irb):4 >        from :0 >>> Symbol.all_symbols.find { |x| x.to_s == "baz" } > => :baz Thanks !! I've also learnt about the all_symbols method, which is new to me :-) Jesus.