> I like this, but I'm pretty sure I wouldn't want that same feature in > say...rm. :) Or ruby for that matter! LOL My thought was that you could have aliases for methods as well as having shorter versions: [ls|dir|directory] So rather than specify each to call the other, define a very dynamic regexp to do the work for you. John. "Josh Huber" <huber / alum.wpi.edu> wrote in message news:87ele8psuy.fsf / alum.wpi.edu... > Tom Sawyer <transami / transami.net> writes: > > > instersting. with something like this, if the method_missing routine > > was sophisticated enough you could have "sloppy" > > programming. imagine your program still working even if you > > misspelled a method call. a strange notion. > > This reminds me of a bash feature which lets you mistype a directory > name by 1 character and still have the cd work: > > $> pwd > /home/huber > $> ls -ld tmp > drwx------ 3 huber huber 4096 Jul 12 15:40 tmp > $> cd tmpf > tmp > $> pwd > /home/huber/tmp > > I like this, but I'm pretty sure I wouldn't want that same feature in > say...rm. :) Or ruby for that matter! > > -- > Josh Huber > >