From: Phrogz Date: 2007-12-01T23:25:00+09:00 Subject: Re: alias problem On Dec 1, 4:41 am, Pokkai Dokkai wrote: > is there any idea to change public definition to private definition by > using alias or some others.... Slim2:~ phrogz$ qri private --------------------------------------------------------- Module#private private => self private(symbol, ...) => self ------------------------------------------------------------------------ With no arguments, sets the default visibility for subsequently defined methods to private. With arguments, sets the named methods to have private visibility. module Mod def a() end def b() end private def c() end private :a end Mod.private_instance_methods #=> ["a", "c"] Please RTFM in the future :)