def dump(self, out_dir='.'):
        """Dump proto file to given directory.
        
        Keyword arguments:
        out_dir -- dump directory. Default='.'
        """
        uri = out_dir + os.sep + self.name
        with open(uri, 'w') as fh:
            fh.write('\n'.join(self.lines))
def dump(self, out_dir='.'):
        """Dump proto file to given directory.
        
        Keyword arguments:
        out_dir -- dump directory. Default='.'
        """
        uri = out_dir + os.sep + self.name
        with open(uri, 'w') as fh:
            fh.write('\n'.join(self.lines))
def dump ( self , out_dir = '.' ) : uri = out_dir + os . sep + self . name with open ( uri , 'w' ) as fh : fh . write ( '\n' . join ( self . lines ) )
Dump proto file to given directory.
        
        Keyword arguments:
        out_dir -- dump directory. Default='.'
Dump proto file to given directory . Keyword arguments : out_dir -- dump directory . Default = .