An open API service indexing awesome lists of open source software.

https://github.com/brookr/oop_deck_of_cards

Code Challenge OOP Deck of Cards
https://github.com/brookr/oop_deck_of_cards

Last synced: 3 months ago
JSON representation

Code Challenge OOP Deck of Cards

Awesome Lists containing this project

README

          

OOP Deck of Cards

Overview


I wanted to create cards with a particular suit and rank and check to see if the card already existed so there wouldn't be duplicate cards in the deck.

Sources


http://chriskottom.com/blog/2014/10/4-fantastic-ways-to-set-up-state-in-minitest/


http://www.rubyinside.com/a-minitestspec-tutorial-elegant-spec-style-testing-that-comes-with-ruby-5354.html


http://stackoverflow.com/questions/22970627/raise-argumenterror-ruby