Как объявить метод и вызвать def move(destination) puts «Running to the #{destination}» end move(test) команда return приводит к выходу из метода, не дожидаясь его завершения Как объявить классы и вызвать их class Dog def talk puts «Bark!» end def move(destination) puts «Running to the #{destination}» end end class Bird def talk puts «Chip! chip!» end […]