From: David Alan Black Date: 2004-04-29T21:59:03+09:00 Subject: Re: Pointers in Ruby Hi -- Jean-Hugues ROBERT writes: > Hi, > > I am coining a Pointer class in Ruby. Kind of a C pointer, more > like a C++ smart pointer actually. Should work for any lvalue. > > Any previous art ? Well, there's the fact that all variables in Ruby are already references :-) So you can do things like: e = ENV e["USERNAME"] = "Ruby" p ENV["USERNAME"] # "Ruby" Can you give an example of something you would need the extra layer of reference for? David -- David A. Black dblack@wobblini.net