Class: MachO::PrebindCksumCommand

Inherits:
LoadCommand show all
Defined in:
lib/macho/load_commands.rb

Instance Attribute Summary collapse

Attributes inherited from LoadCommand

#cmd, #cmdsize, #offset

Instance Method Summary collapse

Methods inherited from LoadCommand

new_from_bin, #to_s

Methods inherited from MachOStructure

bytesize, new_from_bin

Constructor Details

#initialize(offset, cmd, cmdsize, cksum) ⇒ PrebindCksumCommand

Returns a new instance of PrebindCksumCommand.



465
466
467
468
# File 'lib/macho/load_commands.rb', line 465

def initialize(offset, cmd, cmdsize, cksum)
  super(offset, cmd, cmdsize)
  @cksum = cksum
end

Instance Attribute Details

#cksumObject (readonly)

Returns the value of attribute cksum.



460
461
462
# File 'lib/macho/load_commands.rb', line 460

def cksum
  @cksum
end