--- In [email protected], Edwin Pratomo wrote:
> > ignore this thread, i guess i got too many complex things on my head... i'll
>
> i see! :-)
<blockquote>
---------- Forwarded message ----------
From: Yukihiro Matsumoto <[EMAIL PROTECTED]>
Date: 1 Mar 2008 21:47
Subject: Ruby 1.9.0-1 repacked (Re: Ruby 1.9.0-1 snapshot released)
To: [EMAIL PROTECTED]
Hi,
In message "Re: Ruby 1.9.0-1 snapshot released"
on Sat, 1 Mar 2008 21:35:36 +0900, "David A. Black" <[EMAIL PROTECTED]>
writes:
|I couldn't get it to compile until I changed the revision number in
|revision.h from r15560 to 15560.
I am awfully sorry. I made a last minute bug in the packaging
script. I have uploaded repacked archives. Could you try again?
Here's new md5sum:
4344e18188bbdf3e5f19cdd3ade902bb ruby-1.9.0-1.tar.bz2
90b721dce088f455df914c9482508601 ruby-1.9.0-1.tar.gz
8e89b49e473ac1c209e3c73a6fd6610f ruby-1.9.0-1.zip
|> * Hash#flatten no longer work recursively.
|
|I'm not seeing that -- it seems to still work recursively. I'm not
|sure what's intended here, though. Doesn't the optional depth argument
|take care of that?
I mean
{a: [:a,1], b: 2}.flatten
to give
[:a, [:a, 1], :b, 2]
not
[:a, :a, 1, :b, 2]
as it used to.
matz.
</blockquote>
m:~ arie$ irb19
irb(main):001:0> { a: [ :a, 1 ], b: 2 }.flatten
=> [:a, [:a, 1], :b, 2]
irb(main):002:0> exit
m:~ arie$ irb
>> { :a => [ :a, 1 ], :b => 2 }.flatten
NoMethodError: undefined method `flatten' for {:a=>[:a, 1], :b=>2}:Hash
from (irb):1
>> exit
m:~ arie$
f*! this is what i've got if i didn't pay attention carefully :(
anyone here still remember what revision was that? I'm not too smart to dig
deeply into
the old ruby19 subversion revision
http://ariekusumaatmaja.wordpress.com
and about "that compact" thing is at another thread i guess