Class: MachO::TwolevelHintsCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::TwolevelHintsCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#htoffset ⇒ Object
readonly
Returns the value of attribute htoffset.
-
#nhints ⇒ Object
readonly
Returns the value of attribute nhints.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, htoffset, nhints) ⇒ TwolevelHintsCommand
constructor
A new instance of TwolevelHintsCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, htoffset, nhints) ⇒ TwolevelHintsCommand
Returns a new instance of TwolevelHintsCommand.
452 453 454 455 456 |
# File 'lib/macho/load_commands.rb', line 452 def initialize(offset, cmd, cmdsize, htoffset, nhints) super(offset, cmd, cmdsize) @htoffset = htoffset @nhints = nhints end |
Instance Attribute Details
#htoffset ⇒ Object (readonly)
Returns the value of attribute htoffset.
447 448 449 |
# File 'lib/macho/load_commands.rb', line 447 def htoffset @htoffset end |
#nhints ⇒ Object (readonly)
Returns the value of attribute nhints.
447 448 449 |
# File 'lib/macho/load_commands.rb', line 447 def nhints @nhints end |