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.



575
576
577
578
# File 'lib/macho/load_commands.rb', line 575

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

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



570
571
572
# File 'lib/macho/load_commands.rb', line 570

def count
  @count
end