Class: MachO::LoadCommands::SubUmbrellaCommand

Inherits:
LoadCommand show all
Defined in:
lib/macho/load_commands.rb

Overview

A load command signifying membership of a subumbrella containing the name of an umbrella framework. Corresponds to LC_SUB_UMBRELLA.

Instance Method Summary collapse

Methods inherited from LoadCommand

#cmd, #cmdsize, create, new_from_bin, #offset, #serializable?, #serialize, #to_s, #type, #view

Methods inherited from MachOStructure

bytesize, format, #initialize, new_from_bin

Constructor Details

This class inherits a constructor from MachO::MachOStructure

Instance Method Details

#sub_umbrellaLCStr

Returns the subumbrella framework name as an LCStr.

Returns:

  • (LCStr)

    the subumbrella framework name as an LCStr



704
# File 'lib/macho/load_commands.rb', line 704

field :sub_umbrella, :lcstr, :to_s => true

#to_hHash

Returns a hash representation of this MachO::LoadCommands::SubUmbrellaCommand.

Returns:



707
708
709
710
711
# File 'lib/macho/load_commands.rb', line 707

def to_h
  {
    "sub_umbrella" => sub_umbrella.to_h,
  }.merge super
end