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.