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
+13
View File
@@ -1,5 +1,18 @@
# Ruby Technical Test
## Dependencies
* Ruby 4.0.6
* Minitest 6.0.6
## Instructions
Checkout class is in `checkout.rb`
Run tests with `ruby -Ilib:test tests.rb`
`main.rb` is a scratchpad
## Initial Thoughts
* Cart can be stored in an array of strings