I'm writing a voice-driven code editor, and I need to be able to map
command names to method calls.  In other words,

    "find save"  -->   editor.find("save")
    "mail"       -->   mail.checkMail

In Python, this is fairly easy to do.  How do you do it in Ruby?

Thanks,
Anders Schneiderman
The National Journal Group

P.S.  In theory, of course, I could just use emacs & some of the voice
tools that are out there.  But hacking this together is a whole lot more
fun.


Sent via Deja.com http://www.deja.com/
Before you buy.