Class: MachO::RpathCommand

Inherits:
LoadCommand show all
Defined in:
lib/macho/load_commands.rb

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, path) ⇒ RpathCommand



483
484
485
486
# File 'lib/macho/load_commands.rb', line 483

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

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



478
479
480
# File 'lib/macho/load_commands.rb', line 478

def path
  @path
end