Hello!

	I have a small question for gurus on this list ;))

Consider the following case:

module A
	def self.method_1
		...
	end

	def self.method_2
		...
	end
end

module B
	...
end

I need module B to have singleton method method_1 which is really A.method_1

of course I can write:

module B
	def self.method_1(*args)
		A.method_1 *args
	end
end

but this seems cryptic and also ruins the speed (B.method_1 is called a lot
of times, but for proper isolation I need to put it into module A).

Is there an effective method of cross-module singleton method aliasing?

Aristarkh A Zagorodnikov, Lead Programmer, W3D Group
http://www.w3d.ru /// xm / w3d.ru /// ICQ UIN 36987938