This is way cool: Jack Herrington (of Code Generation in Action fame) creates an experimental ECMAscript E4X-style API for Ruby, enabled by Ruby’s method_missing
feature. The Ruby method_missing
, Smalltalk/Objective-C doesNotUnderstand
feature has always been one of my favorites (in fact Doug Purdy’s Smalltalk solution that I last linked to two years ago uses a similar approach).