Module inh_example :: Class Fish
[hide private]
[frames] | no frames]

Class Fish
source code

Animal --+
         |
        Fish

Instance Methods [hide private]
  swim(self, dest)
Swim to the given destination.
  eat(self, food)
Consume the given food object. (Inherited from inh_example.Animal)
  sleep(self, time)
Sleep for the given period of time. (Inherited from inh_example.Animal)

Method Details [hide private]

swim(self, dest)

source code 
Swim to the given destination.