1. Jesper Nøhr
  2. step

Source

step / step / recipe.py

class Recipe(object):
    def __init__(self, fn):
        self.fn = fn
        self.retain = {}

        execfile(self.fn, globals(), self.retain)

        self.steps = self.retain.get('steps')
        
    def bake(self):
        for step in self.steps:
            step.walk()