def _get_filename(class_name, language):
        """
        Generate the specific filename.

        Parameters
        ----------
        :param class_name : str
            The used class name.

        :param language : {'c', 'go', 'java', 'js', 'php', 'ruby'}
            The target programming language.

        Returns
        -------
            filename : str
            The generated filename.
        """
        name = str(class_name).strip()
        lang = str(language)

        # Name:
        if language in ['java', 'php']:
            name = "".join([name[0].upper() + name[1:]])

        # Suffix:
        suffix = {
            'c': 'c', 'java': 'java', 'js': 'js',
            'go': 'go', 'php': 'php', 'ruby': 'rb'
        }
        suffix = suffix.get(lang, lang)

        # Filename:
        return '{}.{}'.format(name, suffix)
def _get_filename ( class_name , language ) : name = str ( class_name ) . strip ( ) lang = str ( language ) if language in [ 'java' , 'php' ] : name = "" . join ( [ name [ 0 ] . upper ( ) + name [ 1 : ] ] ) suffix = { 'c' : 'c' , 'java' : 'java' , 'js' : 'js' , 'go' : 'go' , 'php' : 'php' , 'ruby' : 'rb' } suffix = suffix . get ( lang , lang ) return '{}.{}' . format ( name , suffix )
Generate the specific filename.

        Parameters
        ----------
        :param class_name : str
            The used class name.

        :param language : {'c', 'go', 'java', 'js', 'php', 'ruby'}
            The target programming language.

        Returns
        -------
            filename : str
            The generated filename.