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.
  squish(self, bug, code)
Remove the given bug from the given program.
  climb(self, tree)
Climb up the given tree. (Inherited from inh_example.Primate)
  eat(self, food)
Consume the given food object. (Inherited from inh_example.Animal)
  grab(self, object)
Grab hold of the given object. (Inherited from inh_example.Primate)
  run(self, dest)
Run to the given destination. (Inherited from inh_example.Mammal)
  sleep(self, time)
Sleep for the given period of time. (Inherited from inh_example.Animal)
  talk(self, animal)
Talk to the given animal. (Inherited from inh_example.Human)

Method Details [hide private]

hack(self, code)

source code 
Improve the given program.

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.