Hi,
In message "[ruby-talk:01000] object-creation"
on 99/12/20, "Michael Neumann" <neumann / s-direktnet.de> writes:
|Is it possible to create a Point-object without calling "new" that
|automatically calles "initialize"?
Not from Ruby. Using C extension you can.
|I've tried it this way:
| def my_new
| aPoint = Class.new(Object)
| aPoint.x = 4 # error
| end
Class.new creates new unnamed class (not instance).