From: Joshua Muheim Date: 2008-08-13T01:19:32+09:00 Subject: Re: What's the easiest way to check if param[:y] exists? Shadowfirebird wrote: > It looks to me as if you should be able to check for nil. > > foo( param[:x][:y] ) unless (param[:x][:y] == nil) I tried it on IRB, but it doesn't seem to work. -- Posted via http://www.ruby-forum.com/.