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

Class Programmer

source code

Animal --+            
         |            
    Mammal --+        
             |        
       Primate --+    
                 |    
             Human --+
                     |
                    Programmer

Instance Methods [hide private]
 
hack(self, code)
Improve the given program.
source code
 
squish(self, bug, code)
Remove the given bug from the given program.
source code
 
climb(self, tree)
Climb up the given tree. (Inherited from inh_example.Primate)
source code
 
eat(self, food)
Consume the given food object. (Inherited from inh_example.Animal)
source code
 
grab(self, object)
Grab hold of the given object. (Inherited from inh_example.Primate)
source code
 
run(self, dest)
Run to the given destination. (Inherited from inh_example.Mammal)
source code
 
sleep(self, time)
Sleep for the given period of time. (Inherited from inh_example.Animal)
source code
 
talk(self, animal)
Talk to the given animal. (Inherited from inh_example.Human)
source code
Method Details [hide private]

squish(self, bug, code)

source code 

Remove the given bug from the given program.

Parameters:
  • bug (Bug) - The bug that should be removed from code.