Thomas A. Christensen II
ea64f32b1d
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
41 lines
770 B
Julia
41 lines
770 B
Julia
"""
|
|
function udder()
|
|
|
|
The cow from a file called cow-n-horn, artist unknown.
|
|
|
|
# Example
|
|
|
|
```jldoctest
|
|
julia> cowsay("Milking time!", cow=Cowsay.udder)
|
|
_______________
|
|
< Milking time! >
|
|
---------------
|
|
\\
|
|
\\ (__)
|
|
o o\\
|
|
('') \\---------
|
|
\\ \\
|
|
| |\\
|
|
||---( )_|| *
|
|
|| UU ||
|
|
== ==
|
|
```
|
|
"""
|
|
function udder(;eyes="oo", tongue=" ", thoughts="\\")
|
|
eye1 = first(eyes)
|
|
eye2 = last(eyes)
|
|
botheyes = string(eye1, " ", eye2)
|
|
the_cow =
|
|
"""
|
|
$thoughts
|
|
$thoughts (__)
|
|
$botheyes\\
|
|
('') \\---------
|
|
$tongue\\ \\
|
|
| |\\
|
|
||---( )_|| *
|
|
|| UU ||
|
|
== ==
|
|
"""
|
|
return the_cow
|
|
end
|