Name: OP 2008-02-01 8:15
How do i make a key in a hash(in ruby, if you missed the subject) point to a key in another hash?
I want this:
hash1["key"] = "hay guise"
hash2["key"] = hash1["key"]
hash1["key"] = "ruby is for faggots"
p hash2["key"]
to output > "ruby is for faggots"
I want this:
hash1["key"] = "hay guise"
hash2["key"] = hash1["key"]
hash1["key"] = "ruby is for faggots"
p hash2["key"]
to output > "ruby is for faggots"