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:



693
694
695
696
697
# File 'lib/macho/load_commands.rb', line 693

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



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

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