Created
September 4, 2015 09:03
-
-
Save AJFaraday/0a1826ec0f4c6ab73466 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ajfaraday@wreck-it:~/work/zoo$ ruby script/01_eat.rb | |
Found Cow named Bessie | |
Bessie is munching some grass | |
Found Dog named Shep | |
/home/ajfaraday/work/zoo/lib/animal.rb:14:in `eat': Bad Dog! You are not allowed to eat Bessie (RuntimeError) | |
from script/01_eat.rb:7:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment