by simon baird

Wednesday, November 17, 2010

include_and_extend method for ruby, experiments with modules

As a followup to this post and inspired again by this wycats post, here is some more experimentation with extend and include in ruby, culminating in an include_and_extend method, (which I'm not suggesting is a particularly good idea), but it does work...

No comments: