lib/macho/macho_file.rb
# Write all Mach-O data to the file used to initialize the instance.
# @return [void]
# @raise [MachOError] if the instance was initialized without a file
# @note Overwrites all data in the file!
Write all Mach-O data to the file used to initialize the instance.
Write all Mach - O data to the file used to initialize the instance .
def write!
      raise MachOError, "no initial file to write to" if @filename.nil?
      File.binwrite(@filename, @raw_data)
    end
def write! raise MachOError , "no initial file to write to" if @filename . nil? File . binwrite ( @filename , @raw_data ) end
Write all Mach-O data to the file used to initialize the instance.
Write all Mach - O data to the file used to initialize the instance .
None
void
[MachOError] if the instance was initialized without a file
[ MachOError ] if the instance was initialized without a file
note
Overwrites all data in the file!
Overwrites all data in the file!