[Prototype-core] Re: Running in circles!

2007-02-23 Thread Richard Quadling
Certainly. Sorry for the noise. On 23/02/07, Tobie Langel <[EMAIL PROTECTED]> wrote: > > Richard, > > Could you please kindly post this into - > http://groups-beta.google.com/group/rubyonrails-spinoffs > ? > > The Prototype Core list is for discussion of patches, releases, and > other issues rel

[Prototype-core] Re: Running in circles!

2007-02-22 Thread Tobie Langel
Richard, Could you please kindly post this into - http://groups-beta.google.com/group/rubyonrails-spinoffs ? The Prototype Core list is for discussion of patches, releases, and other issues related to the development of Prototype. It is not for support questions - please use the users mailing l

[Prototype-core] Re: Running in circles!

2007-02-22 Thread Christophe Porteneuve
Hey Richard, Richard Quadling a écrit : > So, I suppose, how do I inherit Object into my class? All methods in Object are designed for static use (they only operate on their parameters, never using "this"), so I fail to see why you would want to inherit those... Are you sure you understand Obje

[Prototype-core] Re: Running in circles!

2007-02-22 Thread Richard Quadling
I want to create a class which has the same properties as Object, with some of my own whistles. Not instantiate the object, just declare it. The instantiation comes later in other code. So, I suppose, how do I inherit Object into my class? On 22/02/07, Christophe Porteneuve <[EMAIL PROTECTED]

[Prototype-core] Re: Running in circles!

2007-02-22 Thread Christophe Porteneuve
Hey Richard, Richard Quadling a écrit : > But this doesn't give me a .inspect() method and there is no > Object.create() method. Of course. Why would it? If you look at Prototype's source, you'll see that any object having an inspect method implements it (Array, String, Hash, and the like).