class
Cowsay::Cow
- Cowsay::Cow
- Cowsay::AbstractCow
- Reference
- Object
Defined in:
cowsay/cows/cow.crInstance Method Summary
-
#render_cow
Renders the cow ASCII art with the configured eyes and tongue.
Instance methods inherited from class Cowsay::AbstractCow
color : Bool
color,
color=(color : Bool)
color=,
eyes : String
eyes,
eyes=(eyes : String)
eyes=,
mode : String
mode,
mode=(mode : String)
mode=,
render_cow
render_cow,
say(message, balloon_type = "say")
say,
think(message)
think,
tongue : String
tongue,
tongue=(tongue : String)
tongue=,
wrapcolumn : Int32
wrapcolumn,
wrapcolumn=(wrapcolumn : Int32)
wrapcolumn=
Constructor methods inherited from class Cowsay::AbstractCow
new(mode : String = "default", eyes = nil, tongue = nil, wrapcolumn : Int32 = 40, color : Bool = false)
new
Instance Method Detail
def render_cow
#
Renders the cow ASCII art with the configured eyes and tongue. If color is enabled, the eyes and tongue will be colorized.
Returns:
- A string containing the cow ASCII art