From: Ronald Fischer Date: 2007-08-24T17:27:02+09:00 Subject: Re: What is the difference between :, ::, . ? > Am Donnerstag, 23. Aug 2007, 21:30:46 +0900 schrieb Gabriel Dragffy: > > I'm still confused when to use :: or : or . to access > namespaces and > > methods. Could someone please tell me concisely when each > should be used? > > Hmmmm ... I thought I had already understand this issue (use CLASSNAME:: for accessing constants, and CLASSNAME. for accessing class methods), but then I fail to understand why both File::delete("filename") File.delete("filename") work. Only the second form should be correct then, shouldn't it? Ronald -- Ronald Fischer Phone: +49-89-452133-162