#NEWLINE# def save( self , builder_file ) : #NEWLINE# #INDENT# 'Serialize this RingBuilder instance to disk.\n\n        :param builder_file: path to builder file to save\n        ' #NEWLINE# with open ( builder_file , 'wb' ) as f : #NEWLINE# #INDENT# pickle . dump ( self . to_dict ( ) , self , protocol = 2 )