Ruby - Classes and Objects
What will this Ruby code output?
class Car
def initialize(make)
@make = make
end
def show_make
puts @make
end
end
car = Car.new("Toyota")
car.show_make