From: Matt Date: 2007-06-22T12:29:39+09:00 Subject: Dynamic method creation Hi! Is there a way to create a regular expression type method and pull the pieces from that? I can find how to add methods dynamically but what I really need is something like this. def _requires id self.requires name, id end def requires name, id ... end so i could type something like test_requires 4 and it would transmit the parameters test and 4 to the requires method. thanks! Matt -- Posted via http://www.ruby-forum.com/.