Add kitty cowfile
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
30faff4071
commit
a6a576eaa7
3 changed files with 36 additions and 0 deletions
|
@ -29,5 +29,6 @@ Cowsay.elephant_in_snake
|
|||
Cowsay.eyes
|
||||
Cowsay.flaming_sheep
|
||||
Cowsay.fox
|
||||
Cowsay.kitty
|
||||
Cowsay.vader_koala
|
||||
```
|
||||
|
|
|
@ -13,6 +13,7 @@ include("cows/elephant.cow.jl")
|
|||
include("cows/eyes.cow.jl")
|
||||
include("cows/flaming-sheep.cow.jl")
|
||||
include("cows/fox.cow.jl")
|
||||
include("cows/kitty.cow.jl")
|
||||
include("cows/udder.cow.jl")
|
||||
include("cows/vader-koala.cow.jl")
|
||||
include("cows/vader.cow.jl")
|
||||
|
|
34
src/cows/kitty.cow.jl
Normal file
34
src/cows/kitty.cow.jl
Normal file
|
@ -0,0 +1,34 @@
|
|||
"""
|
||||
function kitty()
|
||||
|
||||
A kitten of sorts, I think
|
||||
|
||||
# Example
|
||||
|
||||
```jldoctest
|
||||
julia> cowsay("Meow", cow=Cowsay.kitty)
|
||||
______
|
||||
< Meow >
|
||||
------
|
||||
\\
|
||||
\\
|
||||
("`-' '-/") .___..--' ' "`-._
|
||||
` *_ * ) `-. ( ) .`-.__. `)
|
||||
(_Y_.) ' ._ ) `._` ; `` -. .-'
|
||||
_.. `--'_..-_/ /--' _ .' ,4
|
||||
( i l ),-'' ( l i),' ( ( ! .-'
|
||||
```
|
||||
"""
|
||||
function kitty(;eyes="oo", tongue=" ", thoughts="\\")
|
||||
the_cow =
|
||||
"""
|
||||
$thoughts
|
||||
$thoughts
|
||||
("`-' '-/") .___..--' ' "`-._
|
||||
` *_ * ) `-. ( ) .`-.__. `)
|
||||
(_Y_.) ' ._ ) `._` ; `` -. .-'
|
||||
_.. `--'_..-_/ /--' _ .' ,4
|
||||
( i l ),-'' ( l i),' ( ( ! .-'
|
||||
"""
|
||||
return the_cow
|
||||
end
|
Loading…
Reference in a new issue