Class: Gem::Platform

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

Constant Summary collapse

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



169
170
171
# File 'lib/bundler/rubygems_ext.rb', line 169

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