From: Skave Rat Date: 2008-07-10T13:48:40+09:00 Subject: Problem with hash in function Somehow I'm missing something really basic. Why is following function now working? def foobar(args) puts args.id end foobar ({:id => "MyID"}) #=> some random number (e.g. -616990888) -- Posted via http://www.ruby-forum.com/.