From: ts Date: 2003-09-12T01:02:10+09:00 Subject: Re: What *are* variables? Which are nil now? >>>>> "H" == Hugh Sasse Staff Elec Eng writes: >> svg% ruby -e 'def nil.to_ary() [12] end; p []+nil' >> [12] >> svg% H> so why doesn't this give the TypeError then? Because, like I've said, Array#+ call #to_ary and because I've defined nil#to_ary it just work Guy Decoux