Add docstring for cowthunk
This commit is contained in:
parent
d2a4226cbb
commit
b1554d50c4
1 changed files with 7 additions and 0 deletions
|
@ -125,6 +125,13 @@ function cowsaid(message::AbstractString; cow=default, eyes="oo", tongue=" ")
|
||||||
return string(balloon, cow(eyes=eyes, tongue=tongue))
|
return string(balloon, cow(eyes=eyes, tongue=tongue))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
"""
|
||||||
|
cowthunk(message::AbstractString; kwargs...)
|
||||||
|
|
||||||
|
Construct art of a cow thinking `message`.
|
||||||
|
|
||||||
|
See [`cowsaid`](@ref) and [`cowsay`](@ref)
|
||||||
|
"""
|
||||||
function cowthunk(message::AbstractString; cow=default, eyes="oo", tongue=" ")
|
function cowthunk(message::AbstractString; cow=default, eyes="oo", tongue=" ")
|
||||||
balloon = thinkballoon(message)
|
balloon = thinkballoon(message)
|
||||||
return string(balloon, cow(eyes=eyes, tongue=tongue, thoughts="o"))
|
return string(balloon, cow(eyes=eyes, tongue=tongue, thoughts="o"))
|
||||||
|
|
Loading…
Reference in a new issue