Class: MachO::LoadCommands::SubClientCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::SubClientCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command signifying a shared library that is a subframework of an umbrella framework. Corresponds to LC_SUB_CLIENT.
Instance Method Summary collapse
-
#sub_client ⇒ LCStr
The subclient name as an LCStr.
-
#to_h ⇒ Hash
A hash representation of this SubClientCommand.
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_client ⇒ LCStr
Returns the subclient name as an LCStr.
831 |
# File 'lib/macho/load_commands.rb', line 831 field :sub_client, :lcstr, :to_s => true |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::SubClientCommand.
834 835 836 837 838 |
# File 'lib/macho/load_commands.rb', line 834 def to_h { "sub_client" => sub_client.to_h, }.merge super end |