Class: MachO::PreboundDylibCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::PreboundDylibCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#linked_modules ⇒ Object
readonly
Returns the value of attribute linked_modules.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#nmodules ⇒ Object
readonly
Returns the value of attribute nmodules.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, name, nmodules, linked_modules) ⇒ PreboundDylibCommand
constructor
A new instance of PreboundDylibCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, name, nmodules, linked_modules) ⇒ PreboundDylibCommand
Returns a new instance of PreboundDylibCommand.
289 290 291 292 293 294 |
# File 'lib/macho/load_commands.rb', line 289 def initialize(offset, cmd, cmdsize, name, nmodules, linked_modules) super(offset, cmd, cmdsize) @name = name @nmodules = nmodules @linked_modules = linked_modules end |
Instance Attribute Details
#linked_modules ⇒ Object (readonly)
Returns the value of attribute linked_modules.
284 285 286 |
# File 'lib/macho/load_commands.rb', line 284 def linked_modules @linked_modules end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
284 285 286 |
# File 'lib/macho/load_commands.rb', line 284 def name @name end |
#nmodules ⇒ Object (readonly)
Returns the value of attribute nmodules.
284 285 286 |
# File 'lib/macho/load_commands.rb', line 284 def nmodules @nmodules end |