From: David Masover Date: 2010-08-15T14:58:46+09:00 Subject: Re: kind_of?( NilClass ) On Saturday, August 14, 2010 03:10:28 pm Philipp Kempgen wrote: > Steve Klabnik wrote: > > You can always var.nil? > > Well, yes if the var is a kind_of?(Object) but not if > it's just a BasicObject. The purpose of a BasicObject is, generally, to implement proxy classes. Presumably, this would send a nil? through to whatever you were proxying, right? Also, I don't see a kind_of? on BasicObject, either, so calling pretty much anything on var would fail.