Newbie Question

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

It doesn’t seem to work…

-----Original Message-----
From: danielj [mailto:[email protected]]
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

On Jun 18, 2:36 pm, danielj [email protected] wrote:

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

It doesn’t seem to work…

nevermind… figured it out… sorry

ohhh… I see…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs