[#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:23226] Re: [Bug #1385] Wonderful undocumented feature in Ruby 1.8.7 & 1.9

From: Joel VanderWerf <vjoel@...>
Date: 2009-04-17 04:49:01 UTC
List: ruby-core #23226
Marc-Andre Lafortune wrote:
>  *     Hash[ [ ["a" => 100], ["b" => 200] ] ]   #=> {"a"=>100, "b"=>200}

This one isn't quite right...

irb(main):003:0> Hash[ [ ["a" => 100], ["b" => 200] ] ]
=> {{"a"=>100}=>nil, {"b"=>200}=>nil}

irb(main):005:0> RUBY_VERSION
=> "1.9.1"
irb(main):006:0> RUBY_RELEASE_DATE
=> "2009-01-30"

-- 
       vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

In This Thread

Prev Next