Robert Klemme wrote in post #1139363:

> Now you are trying to initialize the instance a second time. That does
> not make sense. Apart from that you are not providing enough
> arguments.

class Person
  def initialize(name)
    name
  end
end

pr = Person.new('foo')
pr.initialize(12)
# private method `initialize' called for 
#<Person:0x19a4e10>(NoMethodError)

So, even if I write the method #initialize in **public scope**, it 
became private method by default. Is it the correct catch ?

-- 
Posted via http://www.ruby-forum.com/.