From: Jim Freeze Date: 2003-05-07T10:19:00+09:00 Subject: Re: Testing for a class existence On Wednesday, 7 May 2003 at 9:39:39 +0900, Josef 'Jupp' Schugt wrote: > Saluton! > > * Phil Tomson ; 2003-05-07, 00:32 UTC: > > irb(main):002:0> defined?(c,d = 1,2) > > SyntaxError: compile error > > (irb):2: syntax error > > defined?(c,d = 1,2) Same for me: ruby -v -e 'defined?(a,b=1,2)' ruby 1.8.0 (2003-03-10) [i386-freebsd4.6] -e:1: parse error defined?(a,b=1,2) ^ -e:1: parse error > Strange. The version of irb you use is which? > > 0:35:07 [5] /home/jupp> irb -v&&irb > irb 0.7.4(01/05/08) > irb(main):001:0> defined? ( c,d = 1,2 ) > => "assignment" -- Jim Freeze ---------- When all other means of communication fail, try words.