On Wed, 2 Jun 2004, David A. Black wrote:

> So... what you really want to do is:
>
>  array.each { |member|
>    case member           # not member.class
>      when Object::Subclass

This is exactly sufficient for my needs; all of the objects I am testing 
are instances of a subclass of a single parent class, e.g., Nagios::Host, 
Nagios::Hostgroup, and Nagios::Command.  Thus, I don't have to worry about 
parentage or anything.

And thanks for the explanation.  A bit strange, but I assume I'll get used 
to it.

Luke

-- 
                         ACHTUNG!!!

Das machine is nicht fur gefingerpoken und mittengrabben.  Ist easy
schnappen der springenwerk, blowenfusen und corkenpoppen mit
spitzensparken.  Ist nicht fur gewerken by das dummkopfen.  Das
rubbernecken sightseeren keepen hands in das pockets.  Relaxen und
vatch das blinkenlights!!!
---------------------------------------------------------------------
Luke Kanies | http://abstractive.org | http://reductiveconsulting.com