object.is_a?(ClassName) does this. object.class returns the class. oo00oo wrote: > Thanks for the tips > inline rescue is nice ! > But I'm always searching a method to determine a type. For Arrays, > Hashs... -- Posted via http://www.ruby-forum.com/.