Open nanditacodes opened 10 years ago
Notes for myself:
say
Questions for Jesse
@nandita -> read here on why we should only rescue StandardError and it's descendants http://robots.thoughtbot.com/rescue-standarderror-not-exception
(Implying we should only subclass standarderror as well)
Thanks Jesse. I have updated the code to extend StandardError instead of StandardException
@nanditacodes --
calculate_total
you should use the awesome ruby inject formis_busted?
should be busted?
(no need to "is" predicate)Otherwise it looks great. Would you like to try without using exceptions?
Code: https://gist.github.com/c05453ea22761096554d
Trello: https://trello.com/b/ONgTPHPl/blackjack