Class: Tama::VirtualAnimal

Inherits:
Animal
  • Object
show all
Defined in:
lib/tama.rb

Overview

Classe principale qui sert de main pour l’executable et d’interface pour la librairie Des corrections sont a faire

Instance Attribute Summary

Attributes inherited from Animal

#DateBirth, #Date_of_death, #health, #mental

Instance Method Summary collapse

Methods inherited from Animal

#DieOfTama, #clean, #cure, #feed, #isAlive?, #teach

Constructor Details

#initializeVirtualAnimal

Returns a new instance of VirtualAnimal.



14
15
16
# File 'lib/tama.rb', line 14

def initialize
    a = Animal.new()
end

Instance Method Details

#mainObject



18
19
# File 'lib/tama.rb', line 18

def main
end