From: RLMuller@... (Richard) Date: 2003-09-12T18:50:27+09:00 Subject: Re: Passing an Object Class from a method to a caller Thanks, Michael. Obviously, I didn't look at my structure very carefully. Thanks for prodding me in the right direction. Just in case your interested in this trivial function, here's what I wound up with: def getTypeOf(o) aTypes = [Array, String, Numeric, Fixnum, Struct, MatchData] result = Object.to_s i = 0 for t in aTypes i += 1 if o.is_a?t then result=t.to_s break end end result end Regards, Richard