Class: Gem::Platform

Inherits:
Object
  • Object
show all
Defined in:
lib/bundler/rubygems_ext.rb

Constant Summary

JAVA =
Gem::Platform.new("java")
MSWIN =
Gem::Platform.new("mswin32")
MSWIN64 =
Gem::Platform.new("mswin64")
MINGW =
Gem::Platform.new("x86-mingw32")
X64_MINGW =
Gem::Platform.new("x64-mingw32")

Instance Method Summary collapse

Instance Method Details

#hashObject



182
183
184
# File 'lib/bundler/rubygems_ext.rb', line 182

def hash
  @cpu.hash ^ @os.hash ^ @version.hash
end