From: Max Williams Date: 2008-03-12T22:30:34+09:00 Subject: Re: Passing only a hash key, with no value, as an option > options=:extra_fine ;=> :extra_fine > options={options=>true} unless options.kind_of?(Hash) > ;=>{:extra_fine=>true} > > Then your normal processing can continue. OK, point taken :) That's a nice snippet, thanks. cheers all max -- Posted via http://www.ruby-forum.com/.