Class: MachO::VersionMinCommand

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, version, sdk) ⇒ VersionMinCommand

Returns a new instance of VersionMinCommand.



531
532
533
534
535
# File 'lib/macho/load_commands.rb', line 531

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

Instance Attribute Details

#sdkObject (readonly)

Returns the value of attribute sdk.



526
527
528
# File 'lib/macho/load_commands.rb', line 526

def sdk
  @sdk
end

#versionObject (readonly)

Returns the value of attribute version.



526
527
528
# File 'lib/macho/load_commands.rb', line 526

def version
  @version
end