Class: Cowsay::Character::Turtle

Inherits:
Base
  • Object
show all
Defined in:
lib/cowsay/character/turtle.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
14
15
16
17
18
19
20
21
22
23
# File 'lib/cowsay/character/turtle.rb', line 5

def template
  "    \#{@thoughts}                                  ___-------___\n     \#{@thoughts}                             _-~~             ~~-_\n\#{@thoughts}                         _-~                    /~-_\n       /^\\\\__/^\\\\         /~  \\\\                   /    \\\\\n     /|  O|| O|        /      \\\\_______________/        \\\\\n    | |___||__|      /       /                \\\\          \\\\\n    |          \\\\    /      /                    \\\\          \\\\\n    |   (_______) /______/                        \\\\_________ \\\\\n    |         / /         \\\\                      /            \\\\\n     \\\\         \\\\^\\\\\\\\         \\\\                  /               \\\\     /\n       \\\\         ||           \\\\______________/      _-_       //\\\\__//\n         \\\\       ||------_-~~-_ ------------- \\\\ --/~   ~\\\\    || __/\n           ~-----||====/~     |==================|       |/~~~~~\n            (_(__/  ./     /                    \\\\_\\\\      \\\\.\n                   (_(___/                         \\\\_____)_)\n  TEMPLATE\nend\n"