ivoire/result.py
def color(self, color, text):
        """
        Color some text in the given ANSI color.

        """

        return "{escape}{text}{reset}".format(
            escape=self.ANSI[color], text=text, reset=self.ANSI["reset"],
        )
def color(self, color, text):
        return "{escape}{text}{reset}".format(
            escape=self.ANSI[color], text=text, reset=self.ANSI["reset"],
        )
def color ( self , color , text ) : return "{escape}{text}{reset}" . format ( escape = self . ANSI [ color ] , text = text , reset = self . ANSI [ "reset" ] , )
Color some text in the given ANSI color.
Color some text in the given ANSI color .