From: "Iñaki Baz Castillo" Date: 2008-04-25T01:01:00+09:00 Subject: Pointer concept in Ruby ? Hi, I'd like to have a variable pointing to a Hash/Array element, so if I modify the variable then the Hash/Array element is modified too. AFAIK this is not possible with Ruby since the abscense of pointer concept. I want the following: array = [ "aaa", "bbb", "ccc" ] a1 = array[1]._some_method_ => "bbb" a1 = "BBB" => "BBB" a[1] => "BBB" Is it possible in some way? Thanks a lot. -- Iñaki Baz Castillo