On Mon, Oct 04, 2004 at 02:04:55AM +0900, Giulio  Piancastelli wrote:
> module A1
> def f; puts 'A1::f'; end
> module_function :f
> end
> 
> module A2
> def f; g; end;
> def g; puts 'g'; end
     ^^^
  def self.g  or better  module_function :g  too

> module_function :f
> end
> 
> module A3
> def f; g; end;
        ^^^
        call with no explicit receiver, private methods work OK
> private
> def A3.g; puts 'A3.g'; end
> module_function :f
> end

-- 
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com