Example #1
0
 def __init__(self):
     self._cells = {}
     for name in [n for n in dir(self) if n.startswith('_get_')]:
         getf = getattr(self, name)
         cell_name = name[5:]
         cell = ComputedCell(getf)
         self._cells[cell_name] = cell