From: ts Date: 2002-08-13T00:50:09+09:00 Subject: Re: Ruby Language Q's >>>>> "D" == Dossy writes: D> There IS no method #1? defined. in `1?true:false' `1' is interpreted as a Fixnum D> irb(main):015:0> true? true : false true? is interpred as a method call D> irb(main):017:0> true ? true : false There is a space between `e' and `?', this can't be the method true? D> #true? isn't a defined method, either. This is resolved at compile time, ruby don't know if a method is defined or not Guy Decoux