Add moose cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
bd3a83bf5e
commit
ad5f481222
3 changed files with 33 additions and 0 deletions
|
@ -34,5 +34,6 @@ Cowsay.fox
|
|||
Cowsay.kitty
|
||||
Cowsay.koala
|
||||
Cowsay.meow
|
||||
Cowsay.moose
|
||||
Cowsay.vader_koala
|
||||
```
|
||||
|
|
|
@ -18,6 +18,7 @@ include("cows/koala.cow.jl")
|
|||
include("cows/mech-and-cow.cow.jl")
|
||||
include("cows/meow.cow.jl")
|
||||
include("cows/moofasa.cow.jl")
|
||||
include("cows/moose.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
31
src/cows/moose.cow.jl
Normal file
31
src/cows/moose.cow.jl
Normal file
|
@ -0,0 +1,31 @@
|
|||
"""
|
||||
function moose()
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
julia> cowsay("Time to vamoose", cow=Cowsay.moose)
|
||||
_________________
|
||||
< Time to vamoose >
|
||||
-----------------
|
||||
\\
|
||||
\\ \\_\\_ _/_/
|
||||
\\ \\__/
|
||||
(oo)\\_______
|
||||
(__)\\ )\\/\\
|
||||
||----w |
|
||||
|| ||
|
||||
```
|
||||
"""
|
||||
function moose(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts
|
||||
$thoughts \\_\\_ _/_/
|
||||
$thoughts \\__/
|
||||
($eyes)\\_______
|
||||
(__)\\ )\\/\\
|
||||
$tongue ||----w |
|
||||
|| ||
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue