title: Ruby wrong number of arguments
body: <p>I'm trying to to create my getters and setters using <code>attr_accessor</code>. I want to assign a value to my variables.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>class Person
    def initialize(name)
      attr_accessor :name
    end
  
    def initialize(age)
      attr_accessor :age
    end
  end
  
  person1 = Person.new
  person1.name = "Andre"
  person1.age  = 22
  </code></pre>
  
  <p>I get some trouble though. My error is:</p>
  
  <pre><code>q5.rb:6:in `initialize': wrong number of arguments (given 0, expected 1) (ArgumentError)
  </code></pre>