From: Iain D Broadfoot Date: 2006-03-21T01:13:49+09:00 Subject: Re: once again looking for my module methods dblack@wobblini.net said something: > You're taking the long road :-) > > module Foo > def self.included(c) > def c.foo > :foo > end > end > #... > end Ah, I made the classic mistake of simplifying working code to use as an example. :) I do more than just create methods, so the instance_eval is useful for me. (and I'm not refactoring my code for a while, so if I've missed something reeeeealy simple don't tell me!) iain -- "If sharing a thing in no way diminishes it, it is not rightly owned if it is not shared." -- St. Augustine #rm -rf / http://www.geeksoc.org/