From: nobu.nokada@... Date: 2003-06-21T23:29:21+09:00 Subject: Re: In 1.8.0 nil.to_s is not the same as "" Hi, At Sat, 21 Jun 2003 21:41:56 +0900, Han Holl wrote: > Yes, thanks. Works fine now, but there is an incompatibilty with 1.6.8: > obj.send("") used to be OK, (dispatched to method_missing), and now gives an error: > in `send': interning empty string (ArgumentError) Well, I guess it is caused from: * there's an incompatiblity for #intern already, which empty string is not allowed as symbol in 1.8 $ ruby-1.6 -e 'p "".intern' : $ ruby-1.8 -e 'p "".intern' -e:1:in `intern': interning empty string (ArgumentError) from -e:1 * and method name should be a symbol $ ruby-1.6 -e 'send(Object.new)' -e:1:in `send': # is not a symbol (TypeError) from -e:1 IMHO, these just hadn't been reflected on Kernel#send yet. -- Nobu Nakada