From: Yusuke ENDOH Date: 2011-01-05T18:58:25+09:00 Subject: [ruby-core:34097] Re: Hash#select and Hash#reject bug in 1.9.2? Hi, 2011/1/3 Lin Jen-Shin : > Block parameter with or without () is not consistent in select or > reject, > while each and map is consistent. Is this a bug? This is because Hash#each and map uses yield([k, v]) while select and reject uses yield(k, v). Perhaps this difference is unintentional and meaningless. However, unless there is any actual problem caused by the difference (except for consisitency), it will be difficult to change the behavior because of compatibility. Thanks, -- Yusuke Endoh