Add skeleton cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
bc0232c94b
commit
c458ec11ac
3 changed files with 43 additions and 0 deletions
|
@ -11,6 +11,7 @@ Cowsay.dragon_and_cow
|
|||
Cowsay.mech_and_cow
|
||||
Cowsay.moofasa
|
||||
Cowsay.mutilated
|
||||
Cowsay.skeleton
|
||||
Cowsay.udder
|
||||
Cowsay.vader
|
||||
Cowsay.www
|
||||
|
|
|
@ -21,6 +21,7 @@ include("cows/moofasa.cow.jl")
|
|||
include("cows/moose.cow.jl")
|
||||
include("cows/mutilated.cow.jl")
|
||||
include("cows/sheep.cow.jl")
|
||||
include("cows/skeleton.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
41
src/cows/skeleton.cow.jl
Normal file
41
src/cows/skeleton.cow.jl
Normal file
|
@ -0,0 +1,41 @@
|
|||
##
|
||||
|
||||
##
|
||||
"""
|
||||
function skeleton()
|
||||
|
||||
This 'Scowleton' brought to you by one of
|
||||
{appel,kube,rowe}@csua.berkeley.edu
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
julia> cowsay("All T-Bone, no steak", cow=Cowsay.skeleton)
|
||||
______________________
|
||||
< All T-Bone, no steak >
|
||||
----------------------
|
||||
\\ (__)
|
||||
\\ /oo|
|
||||
\\ (_"_)*+++++++++*
|
||||
//I#\\\\\\\\\\\\\\\\I\\
|
||||
I[I|I|||||I I `
|
||||
I`I'///'' I I
|
||||
I I I I
|
||||
~ ~ ~ ~
|
||||
Scowleton
|
||||
```
|
||||
"""
|
||||
function skeleton(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts (__)
|
||||
$thoughts /$eyes|
|
||||
$thoughts (_"_)*+++++++++*
|
||||
//I#\\\\\\\\\\\\\\\\I\\
|
||||
I[I|I|||||I I `
|
||||
I`I'///'' I I
|
||||
I I I I
|
||||
~ ~ ~ ~
|
||||
Scowleton
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue