[#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:23329] [Bug #1418] File.join repeats recursive array contents

From: Brian Ford <redmine@...>
Date: 2009-04-29 03:12:16 UTC
List: ruby-core #23329
Bug #1418: File.join repeats recursive array contents
http://redmine.ruby-lang.org/issues/show/1418

Author: Brian Ford
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.8.8dev (2009-04-28 revision 23305) [i386-darwin9.6.0]

This was fixed for Array#join, see [ruby-dev:37019].

$ ruby1.8 -v
ruby 1.8.8dev (2009-04-28 revision 23305) [i386-darwin9.6.0]

$ ruby1.8 file.rb 
"a/b"
"a/b/a/b/[...]"

$ cat file.rb     
a = ["a", "b"]
p File.join(a)
a << a
p File.join(a)

Behavior on 1.8.6, 1.8.7, 1.8.8 and 1.9 is the same.


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next