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.



520
521
522
523
524
# File 'lib/macho/load_commands.rb', line 520

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.



515
516
517
# File 'lib/macho/load_commands.rb', line 515

def sdk
  @sdk
end

#versionObject (readonly)

Returns the value of attribute version.



515
516
517
# File 'lib/macho/load_commands.rb', line 515

def version
  @version
end