def render(self):
    if self.type == Indent.SPACE:
      return ' ' * self.size
    elif self.type == Indent.TAB:
      return '\t' * self.size

    raise RuntimeError("Indent type '%s' not recognised" % self.type)
dataset/ETHPy150Open waynemoore/sublime-gherkin-formatter/lib/gherkin.py/Indent.render/original