Can I put a hash inside a has as a “value” ?
It doesn’t seem to work…
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 QuestionCan 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.
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.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs