From: TRANS Date: 2005-10-05T23:15:14+09:00 Subject: Re: On NullClass or FalseClass#method_missing On 10/5/05, David A. Black wrote: > Well, you could do: > > irb(main):001:0> def nil.method_missing(m); nil; end > => nil > irb(main):002:0> nil.x.y.z > => nil > > but I'm not a big fan of messing with nil. Its behavior is > standardized and heavily depended upon. Right. That's wahy I thought def false.method_missing(m) ; false ; end Might be an acceptable alternative. What do you think of that? Thanks, T.