From: Austin Ziegler Date: 2007-02-19T23:41:56+09:00 Subject: Re: Module that includes both class and instance methods? On 2/19/07, Steve Midgley wrote: > Hello, > I'm trying to create a module that will have class and instance methods > that are made available to any object that includes it. I can do the > job with two lines of code but would prefer to do it with one line of > code if possible (to make sure no one tries to foolishly use only one > half of the functionality - it should be all or nothing). Here's what I > have so far: Please dig through the archives for this. It has been discussed many different times with at least a half dozen different solutions. And at least as many people (myself included) wondering why one would ever want to consider tightly coupling something like this. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca