<reponame>Ziang-Lu/Design-Patterns<gh_stars>1-10
#!usr/bin/env python3
# -*- coding: utf-8 -*-

"""
Company module.
"""

__author__ = '<NAME>'

from enum import Enum, auto


class Company(Enum):
    """
    Company enumeration.
    """
    Google = auto()
    Apple = auto()


def process_company_name(company: Company) -> str:
    """
    Processes the given company and returns the company name.
    :param company: Company
    :return: str
    """
    company_str = str(company)
    dot = company_str.find('.')
    return company_str[dot + 1:]

#!usr/bin/env python3
# -*- coding: utf-8 -*-

"""
Company module.
"""

__author__ = '<NAME>'

from enum import Enum, auto


class Company(Enum):
    """
    Company enumeration.
    """
    Google = auto()
    Apple = auto()


def process_company_name(company: Company) -> str:
    """
    Processes the given company and returns the company name.
    :param company: Company
    :return: str
    """
    company_str = str(company)
    dot = company_str.find('.')
    return company_str[dot + 1:]
#!usr/bin/env python3 # -*- coding: utf-8 -*- Company module. Company enumeration. Processes the given company and returns the company name.     :param company: Company     :return: str