From: "François Beausoleil" Date: 2007-04-06T02:40:44+09:00 Subject: :s.respond_to?(:dup) && :s.dup raises Hi all ! Symbol lies about it's ability to respond_to? to #dup: irb(main):001:0> :s.respond_to?(:dup)=> trueirb(main):002:0> :s.dupTypeError: can't dup Symbol from (irb):2:in `dup' from (irb):2 Fixnum does the same thing. You might argue that the object *can*respond to :dup, except it's simply illegal to respond to it. Anyway, my feeling is that Symbol and Fixnum (probably Numeric) shouldnot respond_to?(:dup). Thanks !-- François Beausoleilhttp://blog.teksol.info/http://piston.rubyforge.org/