class Sandwich
attr_accessor :bread, :meat, :cheese
def initialize(bread,meat,cheese)
@bread = bread
@meat = meat
@cheese = cheese
end
def serve
print "Your ",@meat," sandwich with ",@cheese," cheese on ",@bread," bread is done."
end
end
puts "What kind of bread would you like?"
bread = gets
puts "What kind of meat would you like?"
meat = gets
puts "What kind of cheese would you like?"
cheese = gets
Sandwich.new(bread,meat,cheese).serve