From: nobu.nokada@... Date: 2002-05-19T10:26:22+09:00 Subject: Re: Best way to determine a VALUES Ruby type Hi, At Sun, 19 May 2002 09:47:50 +0900, Lyle Johnson wrote: > if (rb_obj_is_instance_of(MyValue, rb_cRange) == Qtrue) ... In generally, I don't guess it's a good idea to compare a boolean value with TRUE, and prefer just: if (rb_obj_is_instance_of(MyValue, rb_cRange)) ... -- Nobu Nakada