Ruby - Classes and Objects
What is the issue with this Ruby class code?
class Laptop
def initialize(brand)
@brand = brand
end
def display
puts brand
end
end
laptop = Laptop.new('Dell')
laptop.display
