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 ⇒ Object
readonly
Returns the value of attribute sub_library.
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
553 554 555 556 |
# File 'lib/macho/load_commands.rb', line 553 def initialize(offset, cmd, cmdsize, sub_library) super(offset, cmd, cmdsize) @sub_library = sub_library end |
Instance Attribute Details
#sub_library ⇒ Object (readonly)
Returns the value of attribute sub_library.
547 548 549 |
# File 'lib/macho/load_commands.rb', line 547 def sub_library @sub_library end |