Class: MachO::LoadCommands::SubFrameworkCommand

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

Overview

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

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

#to_hHash

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

Returns:



792
793
794
795
796
# File 'lib/macho/load_commands.rb', line 792

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

#umbrellaLCStr

Returns the umbrella framework name as an LCStr.

Returns:

  • (LCStr)

    the umbrella framework name as an LCStr



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

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