Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/projects/black_thursday/iteration_3.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ instances. It offers the following methods:
The data can be found in `data/invoice_items.csv` so the instance is created and used like this:

```ruby
ir = InvoiceItemRepository.new
ir = InvoiceItemRepository
ir.from_csv("./data/invoice_items.csv")
invoice = ir.find_by_id(6)
# => <invoice_item>
Expand Down Expand Up @@ -71,7 +71,7 @@ instances. It offers the following methods:
The data can be found in `data/transactions.csv` so the instance is created and used like this:

```ruby
tr = TransactionRepository.new
tr = TransactionRepository
tr.from_csv("./data/transactions.csv")
transaction = tr.find_by_id(6)
# => <transaction>
Expand Down Expand Up @@ -118,7 +118,7 @@ instances. It offers the following methods:
The data can be found in `data/customers.csv` so the instance is created and used like this:

```ruby
cr = CustomerRepository.new
cr = CustomerRepository
cr.from_csv("./data/customers.csv")
customer = cr.find_by_id(6)
# => <customer>
Expand Down