Design updates with error handling

This commit is contained in:
bterkuile committed 2025-10-18 09:13:12 -05:00
1 parent 4c73608549
commit 4b84df0af9
9 files changed
+124 -38

No files matched your search

+4
View File
@@ -21,6 +21,10 @@ module StrikeMe
def to_a
@items.map(&:attributes)
end
def btc
@items.find { |item| item.currency == 'BTC' }
end
end
end
end