Class: MachO::LoadCommands::SubFrameworkCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::SubFrameworkCommand
- 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
-
#to_h ⇒ Hash
A hash representation of this SubFrameworkCommand.
-
#umbrella ⇒ LCStr
The umbrella framework name as an LCStr.
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_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::SubFrameworkCommand.
792 793 794 795 796 |
# File 'lib/macho/load_commands.rb', line 792 def to_h { "umbrella" => umbrella.to_h, }.merge super end |
#umbrella ⇒ LCStr
Returns the umbrella framework name as an LCStr.
789 |
# File 'lib/macho/load_commands.rb', line 789 field :umbrella, :lcstr, :to_s => true |