Class: MachO::LoadCommands::LinkerOptionCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::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 Method Summary collapse
-
#count ⇒ Integer
The number of strings.
-
#to_h ⇒ Hash
A hash representation of this LinkerOptionCommand.
Methods inherited from LoadCommand
#cmd, #cmdsize, create, new_from_bin, #offset, #serializable?, #serialize, #to_s, #type, #view
Methods inherited from MachOStructure
bytesize, format, #initialize, new_from_bin
Constructor Details
This class inherits a constructor from MachO::MachOStructure
Instance Method Details
#count ⇒ Integer
Returns the number of strings.
1305 |
# File 'lib/macho/load_commands.rb', line 1305 field :count, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::LinkerOptionCommand.
1308 1309 1310 1311 1312 |
# File 'lib/macho/load_commands.rb', line 1308 def to_h { "count" => count, }.merge super end |