document behaviour if applied to class methods
Opened this issue · 4 comments
gdamjan commented
It's not clear what to do if you want to decorate class methods.
minimind commented
I've added the new decorator add_method and added it's use to the README here. Tell me if it's what you need.
gdamjan commented
hmm. what is self
when the dispatched method is called?
minimind commented
Good point. I will take a look.
gdamjan commented
maybe first export two functions that do register and match, and then we'll see how to use in classes