Skip to content
On this page

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.0

Gem::Platform

< Object 6 instance methods 7 class methods

Available list of platforms for targeting Gem installations.

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

Class methods 7

Instance methods 6

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