Merge 1a63b4d398 into 0cf4cd3121
This commit is contained in:
commit
432eec2e6d
1 changed files with 4 additions and 0 deletions
|
|
@ -34,6 +34,10 @@
|
|||
(= "Simba eats animals."
|
||||
(diet {:species "lion" :name "Simba" :age 1 :eater :carnivore}))
|
||||
|
||||
"Animals have different names"
|
||||
(= "Thumper eats veggies."
|
||||
(diet {:species "rabbit" :name "Thumper" :age 1 :eater :herbivore}))
|
||||
|
||||
"You may use a default method when no others match"
|
||||
(= "I don't know what Rich Hickey eats."
|
||||
(diet {:name "Rich Hickey"})))
|
||||
|
|
|
|||
Loading…
Reference in a new issue