Add mutilated cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
ad5f481222
commit
2af2318128
3 changed files with 30 additions and 0 deletions
|
@ -10,6 +10,7 @@ Cowsay.cower
|
|||
Cowsay.dragon_and_cow
|
||||
Cowsay.mech_and_cow
|
||||
Cowsay.moofasa
|
||||
Cowsay.mutilated
|
||||
Cowsay.udder
|
||||
Cowsay.vader
|
||||
Cowsay.www
|
||||
|
|
|
@ -19,6 +19,7 @@ include("cows/mech-and-cow.cow.jl")
|
|||
include("cows/meow.cow.jl")
|
||||
include("cows/moofasa.cow.jl")
|
||||
include("cows/moose.cow.jl")
|
||||
include("cows/mutilated.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
28
src/cows/mutilated.cow.jl
Normal file
28
src/cows/mutilated.cow.jl
Normal file
|
@ -0,0 +1,28 @@
|
|||
"""
|
||||
function mutilated()
|
||||
|
||||
A mutilated cow, from aspolito@csua.berkeley.edu
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
julia> cowsay("I wouldn't have been so eager to make head cheese...", cow=Cowsay.mutilated)
|
||||
______________________________________________________
|
||||
< I wouldn't have been so eager to make head cheese... >
|
||||
------------------------------------------------------
|
||||
\\ \\_______
|
||||
v__v \\ \\ O )
|
||||
(oo) ||----w |
|
||||
(__) || || \\/\\
|
||||
```
|
||||
"""
|
||||
function mutilated(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts \\_______
|
||||
v__v $thoughts \\ O )
|
||||
($eyes) ||----w |
|
||||
(__) || || \\/\\
|
||||
$tongue
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue