From: Raj pal Date: 2013-03-14T16:44:36+09:00 Subject: Re: question on watir hi, I am comparing objects like if a.class.to_s == 'hash' puts 'hash' end Is there any way can i compare objects directly? Like if a.class==OBJECT puts 'hash' end -- Posted via http://www.ruby-forum.com/.