Class: MachO::LinkerOptionCommand

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, count) ⇒ LinkerOptionCommand

Returns a new instance of LinkerOptionCommand.



558
559
560
561
# File 'lib/macho/load_commands.rb', line 558

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

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



553
554
555
# File 'lib/macho/load_commands.rb', line 553

def count
  @count
end