Oops, try again. It looks like matz isn't an instance of the Person class


#1



Can you tell me what I'm doing wrong?

https://www.codecademy.com/en/courses/ruby-beginner-en-MFiQ6/0/5?curriculum_id=5059f8619189a5000201fbcb


class Person
end

def initialize(name)
  @name = name
end

matz = Person.new ("Yukihiro")


#2

What happens if you move the end to the end of the class definition?

class Person
  def initialize(name)
    @name = name
  end
end