Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3594

Hash pointing to reference of itself!

From Peter Ehrlich <crazedcougar@gmail.com>
Newsgroups comp.lang.ruby
Subject Hash pointing to reference of itself!
Date 2011-04-27 21:06 -0500
Organization Service de news de lacave.net
Message-ID <2c4044cb0ff545728e716d86ae47c93d@ruby-forum.com> (permalink)

Show all headers | View raw


Hey!

Supposed I want have a hash, with one key always holding the value of
another key.  Is this possible without referencing outside the hash
closure?  Forgive my lack of understanding of ruby internals.

Cheers!

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Hash pointing to reference of itself! Peter Ehrlich <crazedcougar@gmail.com> - 2011-04-27 21:06 -0500
  Re: Hash pointing to reference of itself! Josh Cheek <josh.cheek@gmail.com> - 2011-04-28 00:03 -0500

csiph-web