Class: Gem::Platform

Class | Gem::Platform
In: | lib/rubygems/platform.rb
Parent: | Object

Available list of platforms for targeting Gem installations.

### Methods

== === =~ const_missing inspect local match new to_a to_s

### Constants

DEPRECATED_CONSTS | = | [ :DARWIN, :LINUX_586, :MSWIN32, :PPC_DARWIN, :WIN32, :X86_LINUX
RUBY | = | 'ruby' |  | A pure-ruby gem that may use Gem::Specification#extensions to build binary files.
CURRENT | = | 'current' |  | A platform-specific gem that is built for the packaging ruby‘s platform. This will be replaced with Gem::Platform::local.

### Attributes

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

### Public Class methods

const_missing(name)
local()
match(platform)
new(arch)

### Public Instance methods

==(other)
===(other)
=~(other)
inspect()
to_a()
to_s()

[Validate]