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.
458 459 460 461 462 |
# File 'lib/macho/load_commands.rb', line 458 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.
453 454 455 |
# File 'lib/macho/load_commands.rb', line 453 def htoffset @htoffset end |
#nhints ⇒ Object (readonly)
Returns the value of attribute nhints.
453 454 455 |
# File 'lib/macho/load_commands.rb', line 453 def nhints @nhints end |