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')
MINGW =
Gem::Platform.new('x86-mingw32')
X64_MINGW =
Gem::Platform.new('x64-mingw32')

Instance Method Summary (collapse)

Instance Method Details

- (Object) hash



154
155
156
# File 'lib/bundler/rubygems_ext.rb', line 154

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