Class: MachO::LoadCommands::BuildVersionCommand::ToolEntries::Tool
- Inherits:
-
Object
- Object
- MachO::LoadCommands::BuildVersionCommand::ToolEntries::Tool
- Defined in:
- lib/macho/load_commands.rb
Overview
An individual tool.
Instance Attribute Summary collapse
-
#tool ⇒ Integer
readonly
The enum for the tool.
-
#version ⇒ Integer
readonly
The tool's version number.
Instance Method Summary collapse
-
#initialize(tool, version) ⇒ Tool
constructor
private
@param version 32-bit integer.
Constructor Details
#initialize(tool, version) ⇒ Tool
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
@param version 32-bit integer
1187 1188 1189 1190 |
# File 'lib/macho/load_commands.rb', line 1187 def initialize(tool, version) @tool = tool @version = version end |
Instance Attribute Details
#tool ⇒ Integer (readonly)
Returns the enum for the tool.
1179 1180 1181 |
# File 'lib/macho/load_commands.rb', line 1179 def tool @tool end |
#version ⇒ Integer (readonly)
Returns the tool's version number.
1182 1183 1184 |
# File 'lib/macho/load_commands.rb', line 1182 def version @version end |