class MachO::LoadCommands::TwolevelHintsCommand

A load command containing the offset and number of hints in the two-level namespace lookup hints table. Corresponds to LC_TWOLEVEL_HINTS.

Public Instance Methods

to_h() click to toggle source

@return [Hash] a hash representation of this {TwolevelHintsCommand}

Calls superclass method MachO::LoadCommands::LoadCommand#to_h
# File lib/macho/load_commands.rb, line 963
def to_h
  {
    "htoffset" => htoffset,
    "nhints" => nhints,
    "table" => table.hints.map(&:to_h),
  }.merge super
end