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.
600 601 602 603 |
# File 'lib/macho/load_commands.rb', line 600 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.
595 596 597 |
# File 'lib/macho/load_commands.rb', line 595 def version @version end |