From: Peter Alvin Date: 2008-09-23T20:48:08+09:00 Subject: Shortcut for "if options.key?(:full)" ? If I pass an options hash into a def, how do I easily check to see if an option is set? This is how I'm doing it now: if options.key?(:some_option) ... end Knowing Ruby, there's got to be a cleaner/better way! Pete -- Posted via http://www.ruby-forum.com/.