Class: MachO::LinkerOptionCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LinkerOptionCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command containing linker options embedded in object files. Corresponds to LC_LINKER_OPTION.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
readonly
The number of strings.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, count) ⇒ LinkerOptionCommand
constructor
A new instance of LinkerOptionCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, count) ⇒ LinkerOptionCommand
Returns a new instance of LinkerOptionCommand.
857 858 859 860 |
# File 'lib/macho/load_commands.rb', line 857 def initialize(offset, cmd, cmdsize, count) super(offset, cmd, cmdsize) @count = count end |
Instance Attribute Details
#count ⇒ Fixnum (readonly)
Returns the number of strings.
851 852 853 |
# File 'lib/macho/load_commands.rb', line 851 def count @count end |