[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Learning newb: regaring methods and class methods

Dominic Son

7/12/2006 5:29:00 PM

hi, i just need to know if i'm on the right trax regarding ruby:

a '::' method class attached to another constant or variable will tell
that constant/variable to use all methods under it's class where

as '.' tells ruby to use only 1 method.

but before using that method, we have to call for the 'new class' that
method belongs to...

Can someone please tell me if any of the above is wrong?

thanks

--
Posted via http://www.ruby-....

1 Answer

dblack

7/12/2006 5:37:00 PM

0