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



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

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

#to_hHash

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

Returns:



806
807
808
809
810
# File 'lib/macho/load_commands.rb', line 806

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