From: gabriele renzi Date: 2004-07-21T00:32:08+09:00 Subject: Re: Ruby/Tk article on macdevcenter il Wed, 21 Jul 2004 00:06:13 +0900, ts ha scritto:: >>>>>> "S" == =?ISO-8859-1?Q?Stephan K=E4mper?= writes: > >S> puts is - as the error message says, a privat method. >S> In Ruby - if memory serves right - private methods can only be called >S> with an implicit receiver. > >svg% ruby -e 'Kernel.puts "I am a Kernel module function"' >I am a Kernel module function well, but since >> self.kind_of? Kernel => true then why self.puts fails? Is the explanation "you can't call methods in included modules with self.method" ?