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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2006-03-16 00: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)" <removed_email_address@domain.invalid> 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.