From: Alexey Verkhovsky Date: 2004-07-18T04:34:31+09:00 Subject: [NUBY] Code sample from The Ruby Way class String def levenstein(other, ins=2, del=2, sub=1) # ins, del, sub are weighted costs return nil if self.nil? return nil if other.nil? ... proceed to calculate Levenstein distance between self and other end end I don't understand, what is this line for: return nil if self.nil? Can self.nil? ever evaluate to true in a method of String??? Best regards, Alexey Verkhovsky