From: Devin Mullins Date: 2006-12-10T09:40:40+09:00 Subject: Re: bending ruby space Trans wrote: > i came upon this "pattern" working on a rather difficult problem. see > if you can wrap your head around this bending of ruby space and what it > might be good for. > > module R; end > module U; include R; end > module R; extend U; end why not: module R; extend self end or just: module R; module_function; ... end ? Devin (Thas right, biatches. extend self is the new class << self.)