Add supermilker cowfile

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2021-11-23 17:07:31 -06:00
parent c5820d1ddb
commit 22d79880fe
Signed by: millironx
GPG key ID: 139C07724802BC5D
3 changed files with 31 additions and 0 deletions

View file

@ -13,6 +13,7 @@ Cowsay.moofasa
Cowsay.mutilated Cowsay.mutilated
Cowsay.skeleton Cowsay.skeleton
Cowsay.small Cowsay.small
Cowsay.supermilker
Cowsay.udder Cowsay.udder
Cowsay.vader Cowsay.vader
Cowsay.www Cowsay.www

View file

@ -24,6 +24,7 @@ include("cows/sheep.cow.jl")
include("cows/skeleton.cow.jl") include("cows/skeleton.cow.jl")
include("cows/small.cow.jl") include("cows/small.cow.jl")
include("cows/stegosaurus.cow.jl") include("cows/stegosaurus.cow.jl")
include("cows/supermilker.cow.jl")
include("cows/udder.cow.jl") include("cows/udder.cow.jl")
include("cows/vader-koala.cow.jl") include("cows/vader-koala.cow.jl")
include("cows/vader.cow.jl") include("cows/vader.cow.jl")

View file

@ -0,0 +1,29 @@
"""
function supermilker()
A cow being milked, probably from Lars Smith (lars@csua.berkeley.edu)
# Example
```jldoctest
julia> cowsay("Paying the bills", cow=Cowsay.supermilker)
__________________
< Paying the bills >
------------------
\\ ^__^
\\ (oo)\\_______ ________
(__)\\ )\\/\\ |Super |
||----W | |Milker|
|| UDDDDDDDDD|______|
```
"""
function supermilker(;eyes="oo", tongue=" ", thoughts="\\")
the_cow =
"""
$thoughts ^__^
$thoughts ($eyes)\\_______ ________
(__)\\ )\\/\\ |Super |
$tongue ||----W | |Milker|
|| UDDDDDDDDD|______|
"""
return the_cow
end