Add surgery cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
22d79880fe
commit
37ee7beb81
3 changed files with 69 additions and 2 deletions
|
@ -7,8 +7,6 @@ Examples of all the cowfiles available.
|
|||
```@docs
|
||||
Cowsay.default
|
||||
Cowsay.cower
|
||||
Cowsay.dragon_and_cow
|
||||
Cowsay.mech_and_cow
|
||||
Cowsay.moofasa
|
||||
Cowsay.mutilated
|
||||
Cowsay.skeleton
|
||||
|
@ -26,6 +24,14 @@ Cowsay.blowfish
|
|||
Cowsay.elephant
|
||||
```
|
||||
|
||||
## Cows and friends
|
||||
|
||||
```@docs
|
||||
Cowsay.dragon_and_cow
|
||||
Cowsay.mech_and_cow
|
||||
Cowsay.surgery
|
||||
```
|
||||
|
||||
## Other
|
||||
|
||||
```@docs
|
||||
|
|
|
@ -25,6 +25,7 @@ include("cows/skeleton.cow.jl")
|
|||
include("cows/small.cow.jl")
|
||||
include("cows/stegosaurus.cow.jl")
|
||||
include("cows/supermilker.cow.jl")
|
||||
include("cows/surgery.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
60
src/cows/surgery.cow.jl
Normal file
60
src/cows/surgery.cow.jl
Normal file
|
@ -0,0 +1,60 @@
|
|||
##
|
||||
## A cow operation, artist unknown
|
||||
##
|
||||
"""
|
||||
function surgery()
|
||||
|
||||
A cow operation, artist unknown
|
||||
|
||||
# Example
|
||||
```jldoctest
|
||||
julia> cowsay("Removing the last bit of net wrap now", cow=Cowsay.surgery)
|
||||
_______________________________________
|
||||
< Removing the last bit of net wrap now >
|
||||
---------------------------------------
|
||||
\\ \\ /
|
||||
\\ \\/
|
||||
(__) /\\
|
||||
(oo) O O
|
||||
_\\/_ //
|
||||
* ( ) //
|
||||
\\ (\\\\ //
|
||||
\\( \\\\ )
|
||||
( \\\\ ) /\\
|
||||
___[\\______/^^^^^^^\\__/) o-)__
|
||||
|\\__[=======______//________)__\\
|
||||
\\|_______________//____________|
|
||||
||| || //|| |||
|
||||
||| || @.|| |||
|
||||
|| \\/ .\\/ ||
|
||||
. .
|
||||
'.'.`
|
||||
|
||||
COW-OPERATION
|
||||
```
|
||||
"""
|
||||
function surgery(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts \\ /
|
||||
$thoughts \\/
|
||||
(__) /\\
|
||||
($eyes) O O
|
||||
_\\/_ //
|
||||
* ( ) //
|
||||
\\ (\\\\ //
|
||||
\\( \\\\ )
|
||||
( \\\\ ) /\\
|
||||
___[\\______/^^^^^^^\\__/) o-)__
|
||||
|\\__[=======______//________)__\\
|
||||
\\|_______________//____________|
|
||||
||| || //|| |||
|
||||
||| || @.|| |||
|
||||
|| \\/ .\\/ ||
|
||||
. .
|
||||
'.'.`
|
||||
|
||||
COW-OPERATION
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue