From: DaVinci Date: 2000-10-03T18:56:20+09:00 Subject: [ruby-talk:5259] Re: problem: undefined method `size' for File On Tue, Oct 03, 2000 at 06:21:22PM +0900, Yukihiro Matsumoto wrote: > HI, > > In message "[ruby-talk:5254] problem: undefined method `size' for File" > on 00/10/03, "葡ic Santonacci" writes: > > |print logfile.size("/home/eric/rubytest/fact.rb"), "\n" > > Use > > >print File.size("/home/eric/rubytest/fact.rb"), "\n" > > And distinguish instance method and class method from now on. In this case I don't understand well why it should be a class method instead of instance method. Is there any reason or simply it is so?. Greets. David