From: Dirk Meijer Date: 2005-11-10T03:56:27+09:00 Subject: method_missing ------=_Part_59310_20217798.1131562584836 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hi everyone, i've got a small problem and can't figure out how to solve it. in my program, you can enter commands, and then it checks if those commands exist within a module.. if the command does not exist, it should tell the user that, this gets me t= o this: def method_missing(method,*trash) print "Command #{method} not found!\n" end but when the user enters a command with an argument (only one argument is read), it prints the following: Command not found! Command not found! which doesn't look very nice.. how would i solve this? greetings, Dirk. ------=_Part_59310_20217798.1131562584836--