Re: [Rails-spinoffs] Prototype OOP example

2005-12-24 Thread QnA
y coding to all of you.   Regards, QnA  2005/12/25, Cliff Mees <[EMAIL PROTECTED]>: Here's one approach:   Labour = Class.create(); Labour.prototype = {   initialize: function(name) {     this.name = name;   },   showMeYourName: function() {     alert(this.name);   } } Worker = Class.

[Rails-spinoffs] Prototype OOP example

2005-12-24 Thread QnA
t; is "function(name, position)".   May I ask what should do?     Thank you all very much for the kindly help. Wish you all with a Merry Christmas.     Regards, QnA ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://list