Add tux cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
aa68630d06
commit
1c3998c7d1
3 changed files with 44 additions and 0 deletions
|
@ -23,6 +23,7 @@ Cowsay.www
|
|||
```@docs
|
||||
Cowsay.blowfish
|
||||
Cowsay.elephant
|
||||
Cowsay.tux
|
||||
```
|
||||
|
||||
## Cows and friends
|
||||
|
|
|
@ -29,6 +29,7 @@ include("cows/surgery.cow.jl")
|
|||
include("cows/three-eyes.cow.jl")
|
||||
include("cows/turkey.cow.jl")
|
||||
include("cows/turtle.cow.jl")
|
||||
include("cows/tux.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
42
src/cows/tux.cow.jl
Normal file
42
src/cows/tux.cow.jl
Normal file
|
@ -0,0 +1,42 @@
|
|||
##
|
||||
|
||||
##
|
||||
"""
|
||||
function tux()
|
||||
|
||||
TuX
|
||||
(c) pborys@p-soft.silesia.linux.org.pl
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
julia> cowsay("Talk is cheap. Show me the code.", cow=Cowsay.tux)
|
||||
__________________________________
|
||||
< Talk is cheap. Show me the code. >
|
||||
----------------------------------
|
||||
\\
|
||||
\\
|
||||
.--.
|
||||
|o_o |
|
||||
|:_/ |
|
||||
// \\ \\
|
||||
(| | )
|
||||
/'\\_ _/`\\
|
||||
\\___)=(___/
|
||||
```
|
||||
"""
|
||||
function tux(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts
|
||||
$thoughts
|
||||
.--.
|
||||
|o_o |
|
||||
|:_/ |
|
||||
// \\ \\
|
||||
(| | )
|
||||
/'\\_ _/`\\
|
||||
\\___)=(___/
|
||||
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue