Class: MachO::LoadCommands::SubUmbrellaCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::SubUmbrellaCommand
- 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
-
#sub_umbrella ⇒ LCStr
The subumbrella framework name as an LCStr.
-
#to_h ⇒ Hash
A hash representation of this SubUmbrellaCommand.
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_umbrella ⇒ LCStr
Returns the subumbrella framework name as an LCStr.
803 |
# File 'lib/macho/load_commands.rb', line 803 field :sub_umbrella, :lcstr, :to_s => true |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::SubUmbrellaCommand.
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 |