Skip to content
On this page

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class · Ruby 3.4

Gem::Platform

< Object 7 instance methods 8 class methods

Available list of platforms for targeting Gem installations.

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

Class methods 8

Instance methods 7

Constants

A platform-specific gem that is built for the packaging Ruby’s platform. This will be replaced with Gem::Platform::local.

A pure-Ruby gem that may use Gem::Specification#extensions to build binary files.

Attributes

cpu

Read & Write
No documentation available

os

Read & Write
No documentation available
Read & Write
No documentation available