End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.platforms=
platforms=(platforms)
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems.rb, line 650
def self.platforms=(platforms)
@platforms = platforms
end
Set array of platforms this RubyGems supports (primarily for testing).
See also
.platforms
.plugindir
.platform_defaults
.plugin_suffix_pattern
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0