class MachO::LoadCommands::SubLibraryCommand

A load command signifying a sublibrary of a shared library. Corresponds to LC_SUB_LIBRARY.

Public Instance Methods

to_h() click to toggle source

@return [Hash] a hash representation of this {SubLibraryCommand}

Calls superclass method MachO::LoadCommands::LoadCommand#to_h
# File lib/macho/load_commands.rb, line 820
def to_h
  {
    "sub_library" => sub_library.to_h,
  }.merge super
end