class MachO::LoadCommands::BuildVersionCommand::ToolEntries::Tool
An individual tool.
Attributes
tool[R]
@return [Integer] the enum for the tool
version[R]
@return [Integer] the tool’s version number
Public Class Methods
new(tool, version)
click to toggle source
@param tool [Integer] 32-bit integer @param version [Integer] 32-bit integer @api private
# File lib/macho/load_commands.rb, line 1234 def initialize(tool, version) @tool = tool @version = version end
Public Instance Methods
to_h()
click to toggle source
@return [Hash] a hash representation of this {Tool}
# File lib/macho/load_commands.rb, line 1240 def to_h { "tool" => tool, "version" => version, } end