Newbie Question


#1

Can I put a hash inside a has as a “value” ?

It doesn’t seem to work…


#2

-----Original Message-----
From: danielj [mailto:removed_email_address@domain.invalid]
Sent: Monday, June 18, 2007 4:40 PM
To: ruby-talk ML
Subject: Newbie Question

Can I put a hash inside a has as a “value” ?

Sure, but be aware that if you do anything to the hash you’re using as a
key that would change its hash value, you’ll need to rehash the
container hash.

  • donald

#3

On Jun 18, 2:36 pm, danielj removed_email_address@domain.invalid wrote:

Can I put a hash inside a has as a “value” ?

It doesn’t seem to work…

nevermind… figured it out… sorry


#4

ohhh… I see…