How can I intercept a method call in Boo?
.net, boo, intercept, method-missing
Solution
Yes, Boo has IQuackFu.
Basically, you implement `IQuackFu`, which has three methods:
- `QuackGet`: gets called when you get a property value
- `QuackSet` gets called when you set a property value
- `QuackInvoke`: gets called when you invoke a method
Here's an example.
Problem
Ruby has `method_missing` , Python has `getattr`. Does Boo offer something I can use to intercept method calls?