Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 1
Fill in the blanks to assign the value "7" to the age variable of the object using its setter method.
class Dog def age=(a) @age = a end end bob = Dog.new . age = 7
2 ответов
+ 1
alerady figured it out but thanks
0
bob.age = 7