* Robert Klemme <shortcutter / googlemail.com> (2008-04-21) schrieb:

> The return value of #initialize is ignored - always.

Pardon?

,----
| #!/usr/bin/env ruby
| 
| class Eins
|   def initialize
|     1
|   end
| 
|   def to_s
|     initialize.to_s
|   end
| end
| 
| eins = Eins.new
| puts eins.to_s
`----

Of course prints "1".

You probably mean that Object::new ignores the return value of
#initialize.

mfg,                 simon .... l