From: aidy Date: 2007-05-31T01:10:14+09:00 Subject: using hash for method parameters #hi, #I have a login class class Login def with(:username, :password) login.username.set(:username) login.password.set(:password) end end #now in my invocation, I would like to do something like this, login = Login.new login.with(:username => 'aidy', :password => 'aidy1') #but I am ensure of my syntax #regards #aidy