From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9vue?=) Date: 2010-10-13T03:30:10+09:00 Subject: Re: map-1.3.0 ara.t.howard wrote: > map does use strings: > http://github.com/ahoward/map/blob/master/lib/map.rb#L123 why did u choose this feature, i was surprised of that : require 'rubygems' require 'map' m=Map[{:un => 1, :deux => 2, :trois => 3, :quatre => 4}] puts "# => m.keys.first.class = #{m.keys.first.class}" # => m.keys.first.class = String --------------------------^^^^^^^ i expected Symbol... (clearly that's your line 123 : key.kind_of?(Symbol) ? key.to_s : key) because of ordering ? -- � N'essayez pas de noyer vos chagrins : ils savent nager. � (Albert Willemetz)