def save_to_file(data, path)
      open(path, 'wb') { |file| file.write(data) } if path
    end
def save_to_file(data, path)
      open(path, 'wb') { |file| file.write(data) } if path
    end
def save_to_file ( data , path ) open ( path , 'wb' ) { | file | file . write ( data ) } if path end
Saves raw data to a file.
Saves raw data to a file .