Class: MachO::VersionMinCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::VersionMinCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#sdk ⇒ Object
readonly
Returns the value of attribute sdk.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, version, sdk) ⇒ VersionMinCommand
constructor
A new instance of VersionMinCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, version, sdk) ⇒ VersionMinCommand
Returns a new instance of VersionMinCommand.
537 538 539 540 541 |
# File 'lib/macho/load_commands.rb', line 537 def initialize(offset, cmd, cmdsize, version, sdk) super(offset, cmd, cmdsize) @version = version @sdk = sdk end |
Instance Attribute Details
#sdk ⇒ Object (readonly)
Returns the value of attribute sdk.
532 533 534 |
# File 'lib/macho/load_commands.rb', line 532 def sdk @sdk end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
532 533 534 |
# File 'lib/macho/load_commands.rb', line 532 def version @version end |