Class: MachO::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 Attribute Summary collapse

Attributes inherited from LoadCommand

#cmd, #cmdsize, #offset

Instance Method Summary collapse

Methods inherited from LoadCommand

new_from_bin, #to_s

Methods inherited from MachOStructure

bytesize, new_from_bin

Constructor Details

#initialize(offset, cmd, cmdsize, umbrella) ⇒ SubFrameworkCommand

Returns a new instance of SubFrameworkCommand.



523
524
525
526
# File 'lib/macho/load_commands.rb', line 523

def initialize(offset, cmd, cmdsize, umbrella)
  super(offset, cmd, cmdsize)
  @umbrella = umbrella
end

Instance Attribute Details

#umbrellaObject (readonly)

Returns the value of attribute umbrella.



517
518
519
# File 'lib/macho/load_commands.rb', line 517

def umbrella
  @umbrella
end