Logic for adding items and validating them

This commit is contained in:
David Underwood
2026-07-15 10:30:28 -04:00
parent 3eebf18fb8
commit 8e28112a8c
5 changed files with 73 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
require "./checkout.rb"
checkout = Checkout.new()
checkout.add(:PI5)
checkout.add(:ZERO2W)
checkout.items # ["PI5", "ZERO2W"]
checkout.total # 75.00