class Cowsay::AbstractCow

Direct Known Subclasses

Defined in:

cowsay/abstract_cow.cr

Constant Summary

FACE_TYPES = {"default" => ["oo", " "], "borg" => ["==", " "], "dead" => ["==", "U "], "greedy" => ["$$", " "], "paranoid" => ["@@", " "], "stoned" => ["**", "U "], "tired" => ["--", " "], "wired" => ["OO", " "], "young" => ["..", " "]}

Constructors

Instance Method Summary

Constructor Detail

def self.new(mode : String = "default", eyes = nil, tongue = nil, wrapcolumn : Int32 = 40, color : Bool = false) #

[View source]

Instance Method Detail

def color : Bool #

[View source]
def color=(color : Bool) #

[View source]
def eyes : String #

[View source]
def eyes=(eyes : String) #

[View source]
def mode : String #

[View source]
def mode=(mode : String) #

[View source]
def render_cow #

[View source]
def say(message, balloon_type = "say") #

[View source]
def think(message) #

[View source]
def tongue : String #

[View source]
def tongue=(tongue : String) #

[View source]
def wrapcolumn : Int32 #

[View source]
def wrapcolumn=(wrapcolumn : Int32) #

[View source]