Class: Cowsay::Character::Cow

Inherits:
Base
  • Object
show all
Defined in:
lib/cowsay/character/cow.rb

Constant Summary

Constants inherited from Base

Base::MAX_LINE_LENGTH

Instance Method Summary collapse

Methods inherited from Base

#initialize, say, #say

Constructor Details

This class inherits a constructor from Cowsay::Character::Base

Instance Method Details

#templateObject



5
6
7
8
9
10
11
12
13
# File 'lib/cowsay/character/cow.rb', line 5

def template
  "\#{@thoughts}   ^__^\n \#{@thoughts}  (oo)\\\\_______\n    (__)\\\\       )\\\\/\\\\\n        ||----w |\n        ||     ||\n  TEMPLATE\nend\n"