From: ts Date: 2002-11-14T00:10:25+09:00 Subject: Re: How do module functions work? >>>>> "A" == Austin Ziegler writes: A> The two definitions below are functionally equivalent: Well, not really pigeon% cat b.rb #!/usr/bin/ruby module M def b "b" end def self.b "M::b" end end class C include M end p C.new.b pigeon% pigeon% b.rb "b" pigeon% A> module Foo A> def bar A> "Foo::bar" A> end A> module_function :bar A> end Try the same with this Guy Decoux