From: Peter Szinek Date: 2006-12-20T05:46:21+09:00 Subject: module private methods? Hello, I guess the subject is silly - but since I need something like Java's "package private" I have used a similar name. What I would need is an additional access modifier, something like this: Module Foo class Bar #public methods baz() fluff() module_private ork() private crap() end end baz() and fluff() are public as normally, crap() is private as normally. ork() is "module private" which means it is visible to the caller only if the caller is *also* in the module Foo - otherwise not. Can this behavior achieved somehow easily? TIA, Peter __ http://www.rubyrailways.com