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.
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
#sdk ⇒ Object (readonly)
Returns the value of attribute sdk.
526 527 528 |
# File 'lib/macho/load_commands.rb', line 526 def sdk @sdk end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
526 527 528 |
# File 'lib/macho/load_commands.rb', line 526 def version @version end |