Just wanted to point out a very fresh and good discussion of (one scheme of)
doing this.
http://kilana.unibe.ch:9090/classboxes/classboxtutorial/
In particular what they do is very applicable to the the Ruby idiom of
extending existing classes:
class Array; … end
module MyStuff
class Array; … make Arrays smarter; end
end