just for fun :) if only keywords could be overwritten. I guess I could just rebuild the parser. anyway, thanks for your suggestions, back to work Mj Daniel Lucraft wrote: > Matthew Rudy wrote: >> that's cool, >> but can we not redefine the default "if" > > Don't think so: 'if' is a keyword. You'll never get it to look for a > method called 'if' without rewriting the interpreter. > >> if false >> return "false is true" >> end > > Is there a reason for all this or are you just amusing yourself? :-) > > Dan -- Posted via http://www.ruby-forum.com/.