From: John Carter Date: 2005-09-23T09:06:51+09:00 Subject: "The class that it is mixed in to..." Ok, so I'm documenting a Mixin. Can anyone think of a more sane word / phrase than "The class that it is mixed in to"? eg. Array is the class that Enumerable is mixed in to. In particular has anyone devised a standard way of documenting / enforcing the signature that "the class that it is mixed in to" must conform to. To mix in Enumerable it must have a "each" method that accepts a block. Perhaps one can devise some code in the module that get's activated at "include" time that checks the instance methods of the class for the required signature. John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand Carter's Clarification of Murphy's Law. "Things only ever go right so that they may go more spectacularly wrong later." From this principle, all of life and physics may be deduced.