From: "trans. (T. Onoma)" Date: 2004-11-17T22:51:38+09:00 Subject: :: vs # (was: Complete set of callbacks) On Wednesday 17 November 2004 06:45 am, trans. (T. Onoma) wrote: | Please help clarify which are instance methods (#) and which are class | methods (::). I see why I'm confused now. Take this example: --------------------------------------------------------- Marshal#dump o = Klass.new("hello\n") data = Marshal.dump(o) obj = Marshal.load(data) obj.sayHello #=> "hello\n" Dump is being used as module/class method so shouldn't it be 'Marshal::dump' ? The documentation says they are instance methods, but you can't initialize a Marshal. What gives? (Is Marshal singleton, BTW?) Thanks, T.