Error!
Success!

Fun With Method Missing and C# 4.0

0
kicks

Fun With Method Missing and C# 4.0  (Unpublished)

Ruby has a neat feature that allows you to hook into method calls for which the method is not defined. In such cases, Ruby will call a method on your class named method_missing. I showed an example of this using IronRuby a while back when I wrote about monkey patching CLR objects. Typically, this sort of wild chicanery is safely contained within the world of those wild and crazy dynamic language aficionados, far away from the peaceful waters of those who prefer statically typed languages. Until now suckas! (cue heart pounding rock music with a fast beat)


Kicked By:
Drop Kicked By: