title: ArgumentError: wrong number of arguments in Ruby
body: <p>Trying to solve this problem,</p>
  
  <pre><code>  class Person
        def initialize(name)
          @name=name
        end
  
        def greet(other_name)
         puts "Hi #{other_name}, my name is #{name}"
        end
      end
  
      initialize("ak")
      greet("aks")
  </code></pre>
  
  <p>but I am getting the error like:</p>
  
  <pre><code>ArgumentError: wrong number of arguments calling `initialize` (1 for 0)
  </code></pre>
  
  <p>I don't understand what is asking here, if its just the argument then why the error is like (1 for 0). can someone help me understand this problem. </p>