Add flaming-sheep cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
e468783238
commit
ce2fb5e0ab
3 changed files with 45 additions and 0 deletions
|
@ -26,5 +26,6 @@ Cowsay.bunny
|
||||||
Cowsay.dragon_and_cow
|
Cowsay.dragon_and_cow
|
||||||
Cowsay.dragon
|
Cowsay.dragon
|
||||||
Cowsay.elephant_in_snake
|
Cowsay.elephant_in_snake
|
||||||
|
Cowsay.flaming_sheep
|
||||||
Cowsay.vader_koala
|
Cowsay.vader_koala
|
||||||
```
|
```
|
||||||
|
|
|
@ -10,6 +10,7 @@ include("cows/dragon-and-cow.cow.jl")
|
||||||
include("cows/dragon.cow.jl")
|
include("cows/dragon.cow.jl")
|
||||||
include("cows/elephant-in-snake.cow.jl")
|
include("cows/elephant-in-snake.cow.jl")
|
||||||
include("cows/elephant.cow.jl")
|
include("cows/elephant.cow.jl")
|
||||||
|
include("cows/flaming-sheep.cow.jl")
|
||||||
include("cows/udder.cow.jl")
|
include("cows/udder.cow.jl")
|
||||||
include("cows/vader-koala.cow.jl")
|
include("cows/vader-koala.cow.jl")
|
||||||
include("cows/vader.cow.jl")
|
include("cows/vader.cow.jl")
|
||||||
|
|
43
src/cows/flaming-sheep.cow.jl
Normal file
43
src/cows/flaming-sheep.cow.jl
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
##
|
||||||
|
## The flaming sheep, contributed by Geordan Rosario (geordan@csua.berkeley.edu)
|
||||||
|
##
|
||||||
|
"""
|
||||||
|
function flaming_sheep()
|
||||||
|
|
||||||
|
The flaming sheep, contributed by Geordan Rosario (geordan@csua.berkeley.edu)
|
||||||
|
|
||||||
|
# Example
|
||||||
|
|
||||||
|
```jldoctest
|
||||||
|
julia> cowsay("Baaahhh!", cow=Cowsay.flaming_sheep)
|
||||||
|
__________
|
||||||
|
< Baaahhh! >
|
||||||
|
----------
|
||||||
|
\\ . . .
|
||||||
|
\\ . . . ` ,
|
||||||
|
\\ .; . : .' : : : .
|
||||||
|
\\ i..`: i` i.i.,i i .
|
||||||
|
\\ `,--.|i |i|ii|ii|i:
|
||||||
|
UooU\\.'@@@@@@`.||'
|
||||||
|
\\__/(@@@@@@@@@@)'
|
||||||
|
(@@@@@@@@)
|
||||||
|
`YY~~~~YY'
|
||||||
|
|| ||
|
||||||
|
```
|
||||||
|
"""
|
||||||
|
function flaming_sheep(;eyes="oo", tongue=" ", thoughts="\\")
|
||||||
|
the_cow =
|
||||||
|
"""
|
||||||
|
$thoughts . . .
|
||||||
|
$thoughts . . . ` ,
|
||||||
|
$thoughts .; . : .' : : : .
|
||||||
|
$thoughts i..`: i` i.i.,i i .
|
||||||
|
$thoughts `,--.|i |i|ii|ii|i:
|
||||||
|
U$(eyes)U\\.'@@@@@@`.||'
|
||||||
|
\\__/(@@@@@@@@@@)'
|
||||||
|
(@@@@@@@@)
|
||||||
|
`YY~~~~YY'
|
||||||
|
|| ||
|
||||||
|
"""
|
||||||
|
return the_cow
|
||||||
|
end
|
Loading…
Reference in a new issue