Class: MachO::SubLibraryCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::SubLibraryCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command signifying a sublibrary of a shared library. Corresponds to LC_SUB_LIBRARY.
Instance Attribute Summary collapse
-
#sub_library ⇒ Fixnum
readonly
The sublibrary name (lc_str).
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, sub_library) ⇒ SubLibraryCommand
constructor
A new instance of SubLibraryCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, sub_library) ⇒ SubLibraryCommand
675 676 677 678 |
# File 'lib/macho/load_commands.rb', line 675 def initialize(offset, cmd, cmdsize, sub_library) super(offset, cmd, cmdsize) @sub_library = sub_library end |
Instance Attribute Details
#sub_library ⇒ Fixnum (readonly)
669 670 671 |
# File 'lib/macho/load_commands.rb', line 669 def sub_library @sub_library end |