Forum: Ruby Re: Hash default -- what's going on here?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D842c2f60cc988204e31d85a01db4bcc?d=identicon&s=25 unknown (Guest)
on 2006-03-15 23:39
(Received via mailing list)
[Strangely this thread has completely disappeared from our server!
However I read this response on Google, and just had to reply!]

"Kroeger, Simon (ext)" <> wrote:

> maybe
> listA=["line1","line2","line3"]
> listB=["line5","line3","line4"]
> puts(listA & listB)
> #=> line3

Ooh, yes!  Isn't ruby a cute language...!

Thanks for jolting my preconceptions!

					-- Pete --
This topic is locked and can not be replied to.