We have the following class:
class Cat(val name: String, val age: Int, val breed: String)
And the following function:
def showInfo(cat: Cat): String =
s"""Your Cat information:
|Name: ${cat.name}
|Age: ${cat.age}
|Breed: ${cat.breed}""".stripMargin
Change the code to turn showInfo into a class method.