From: Jeremy McAnally Date: 2006-12-21T06:49:38+09:00 Subject: Re: reflecting on objects without creating one (Class).superclass should do it. Example: if a.superclass == b puts "Yes." else puts "No." end --Jeremy On 12/20/06, _Kevin wrote: > Let's say I have two constants > > a = Integer > b = Numeric > > Does anyone have any idea how to see if 'a' is a subclass of 'b' > WITHOUT creating an object of class 'a'? > > _Kevin > > >