@classmethod
def next_text_version(cls, text):
    """Method which returns next number from the string.

        From string ``build10s`` it returns 11.

        :param str text: Line to search in.
        :return: Next number
        :rtype: int
        """
    return 1 + cls.parse_text_version(text)
