Class: MachO::SourceVersionCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::SourceVersionCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, version) ⇒ SourceVersionCommand
constructor
A new instance of SourceVersionCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, version) ⇒ SourceVersionCommand
Returns a new instance of SourceVersionCommand.
594 595 596 597 |
# File 'lib/macho/load_commands.rb', line 594 def initialize(offset, cmd, cmdsize, version) super(offset, cmd, cmdsize) @version = version end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
589 590 591 |
# File 'lib/macho/load_commands.rb', line 589 def version @version end |