From: aidy Date: 2007-07-14T21:20:04+09:00 Subject: attr_writer and hash Hi, class Test attr_writer :username, :password def initialize h = {:username => 'user', :password => 'pass'} end end t = Test.new p t.h[username] I am trying to access a hash key after instantiating the Test class, but I am having a slight problem. Could someone please direct me? Thanks Aidy