[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23253] Re: [Feature #666](Rejected) Enumerable::to_hash

From: trans <transfire@...>
Date: 2009-04-18 23:52:54 UTC
List: ruby-core #23253

On Apr 18, 8:07=A0pm, Yukihiro Matsumoto <redm...@ruby-lang.org> wrote:
> Issue #666 has been updated by Yukihiro Matsumoto.
>
> Status changed from Open to Rejected
>
> Enumerable in general does not correspond with mappings, so that I feel E=
numerable#to_hash is improper.

I don't see why a corresponance in needed. It's simply a
transformation. I think the real problem lies in the name of the
method proposed. Rather than #to_hash, for instance, in Facets this
method is called #graph or #mash (for "map hash"). Maybe there is a
better name to be had, but it certainly is a useful method to have at
times.

T.

In This Thread