示例#1
0
    def process_text(self, input_text):
        if self.artifact.args.has_key('width'):
            width = self.artifact.args['width']
        else:
            width=self.DEFAULT_WIDTH

        return wrap_text(input_text, width)
示例#2
0
 def process_text(self, input_text):
     return wrap_text(input_text, 79)