Cowsay.jl/src/cows/cower.cow.jl
Thomas A. Christensen II 2578872831
Add cower cowfile tests
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2021-11-23 12:46:22 -06:00

42 lines
700 B
Julia

##
## A cowering cow
##
"""
function cower()
A cowering cow
# Example
```jldoctest
julia> cowsay("Is it safe to come out yet?", cow=Cowsay.cower)
_____________________________
< Is it safe to come out yet? >
-----------------------------
\\
\\
,__, | |
(oo)\\| |___
(__)\\| | )\\_
| |_w | \\
| | || *
Cower....
```
"""
function cower(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts
$thoughts
,__, | |
(oo)\\| |___
(__)\\| | )\\_
| |_w | \\
| | || *
Cower....
"""
return the_cow
end