class

Gem::Platform

v2_6_3 - Show latest stable - Superclass: Object

Available list of platforms for targeting Gem installations.

See `gem help platform` for information on platform matching.

Constants

CURRENT = 'current'.freeze

JAVA = Gem::Platform.new("java") unless defined?(JAVA)

MINGW = Gem::Platform.new("x86-mingw32") unless defined?(MINGW)

MSWIN = Gem::Platform.new("mswin32") unless defined?(MSWIN)

MSWIN64 = Gem::Platform.new("mswin64") unless defined?(MSWIN64)

RUBY = 'ruby'.freeze

X64_MINGW = Gem::Platform.new("x64-mingw32") unless defined?(X64_MINGW)

Attributes

[RW]cpu
[RW]os
[RW]version

Files

  • lib/bundler/rubygems_ext.rb
  • lib/rubygems/platform.rb