Hi,

How do I tell an object to register "itself" with a hash that has been
passed in during initialization?

For example, I have:

# START ---------------------------
hashOfHomes = {}

Class House
  def initialize homeAddress, homeHash
    @localHomeAddressString = homeAddress
    HOW DO I PUSH "THIS" OBJECT (I.E> "SELF") ONTO THE HASH DURING THIS
INITIALIZATION????
  end
end

home = House.new( "123 Main Street", hashOfHomes)
# END   ---------------------------

I've read through multiple references on object creation and "self" but
don't see anything that is a clear answer.

Thanks, in advance, for any assistance you can offer!

Frank

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