From: Lee Jarvis Date: 2007-10-03T04:54:45+09:00 Subject: Re: Hashes > Works here: >>> Room=Struct.new(:topic,:nicks,:id) > => Room >>> rooms={"room1" => Room.new("room1 topic", [],101), > ?> "room2" => Room.new("room2 topic", [], 102) } > => {"room1"=># id=101>, "room2"=>#} >>> rooms["room1"].topic > => "room1 topic" >>> rooms["room1"].topic = "bla" > => "bla" >>> rooms["room1"].topic > => "bla" Ahh yeah, i was being silly and working with 2 files, and running the un-modified one, its been a long day That's a lot for your help -- Posted via http://www.ruby-forum.com/.