>>>>> "D" == Dan Doel <djd15 / po.cwru.edu> writes:

D>     def nil?
D>        self
D>     end

 Sorry, but I really don't understand why you use #nil? because precisely
 #nil? return true or false

 The original problem was with #nonzero?

pigeon% ruby -e 'p 12.nonzero?'
12
pigeon% 

pigeon% ruby -e 'p 12.zero?'
false
pigeon% 


Guy Decoux