[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

About "constructor overloading"

Hal E. Fulton

2/22/2005 12:28:00 AM

Panagiotis...

Bear in mind that you can add class methods to return objects
also if you want to. These would be "parallel" to the 'new'
method (and typically would call it).

See http://hypermetrics.com/rubyhacker/euruko03/rubyesque/s...

(Though some of those slides are a little dated.)


Cheers,
Hal