From: Patrick Hurley Date: 2006-11-12T22:36:10+09:00 Subject: Re: newby question On 11/12/06, Alfonso wrote: > Sorry for the too elemental question (don't know if this is the right > place to make questions like this) I just have started with ruby, and > don't understand the difference "::" "." I have read that :: is for > accessing constants, but then I see, that, for example, I can make a new > object like with ::new or .new. Could anyone explain that? There is some overlap, but in general usage, use :: to access names that are scoped within modules and use . to send messages (call) methods. At least while you are getting started, this is the easiest thing to remember. pth