Monthly Archives: September 2006

Ruby Module#include at Odds with Duck Typing.

Ruby Module#include is at odds with Duck Typing. Imagine I’ve got a perfectly good class that produces the numbers 1 thru 5: I can of course invoke each with a block and print the numbers out: With predictable results. But … Continue reading

Posted in Ruby | 3 Comments