[Bug #1537] The Feature of Hash#to_s was Changed


#1

Bug #1537: The Feature of Hash#to_s was Changed
http://redmine.ruby-lang.org/issues/show/1537

e$B5/I<<Te(B: ujihisa .
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
ruby -v: ruby 1.9.2dev (2009-05-29 trunk 23604) [i386-darwin9.7.0]

r23604e$B$G!“e(BHash#to_se$B$N;EMM$,0J2<$N$h$&$KJQ$o$j$^$7$?$,!”$3$l$O0U?^E*$J$b$N$G$9$+e(B?

[before]
Hashe$B$N3Fe(Bkeye$B$He(Bvaluee$B$re(Binspecte$B$7$?$b$N$re(B{}e$BFb$K$^$H$a$ke(B
{’’ => ‘’}.to_s #=> ‘{""=>""}’

[after]
Hashe$B$N3Fe(Bkeye$B$He(Bvaluee$B$re(Bto_se$B$7$?$b$N$re(B{}e$BFb$K$^$H$a$ke(B
{’’ => ‘’}.to_s #=> ‘{=>}’

r23604e$B$Ne(Bhash.ce$B$X$N=$@5$r;29M$Ke(Br23324e$B$G$N<c43$NDcB.2=$r2~A1$7$h$&$He(Barray.ce$B$r=$@5$7$h$&$H$9$k2aDx$G>e5-JQ99E@$K5$$E$-$^$7$?!#e(B

e$B;29Me(B: http://redmine.ruby-lang.org/issues/show/1533


#2

e$B%A%1%C%He(B #1537 e$B$,99?7$5$l$^$7$?!#e(B (by Nobuyoshi N.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r23605.

http://redmine.ruby-lang.org/issues/show/1537