From: David Unric Date: 2010-11-18T03:54:55+09:00 Subject: Re: Ruby's inconsistency or an IRB issue ? Ammar Ali wrote in post #962188: > On Wed, Nov 17, 2010 at 6:47 PM, David Unric > wrote: >> How can be the same symbols(names) different ? Can somebody explain ? > > They are both methods, but they are not the same method: > >>> Class.methods.uniq.sort[0] > => :! >>> Class.methods.uniq.sort[1] > => :!= > > Regards, > Ammar Nope, they are same in my case: >> Class.methods.uniq.sort[0] => :! >> Class.methods.uniq.sort[1] => :! But now I discovered it really would be an Wirble output issue: >> ">#{Class.methods.uniq.sort[0]}<" => ">!<" >> ">#{Class.methods.uniq.sort[1]}<" => ">!=<" Regards -- Posted via http://www.ruby-forum.com/.