From: Paul Brannan Date: 2003-04-21T23:16:56+09:00 Subject: module_functions are private? I have a piece of code that does something like this: module M def foo; end module_function :foo end class Foo include M end Foo.new.foo() and was very surprised to discover that it doesn't work: NameError: private method `foo' called for # from (irb):10 Why does module_function() make foo() private? Paul