End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Specification#extensions=
extensions=(extensions)
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/specification.rb, line 1899
def extensions=(extensions)
@extensions = Array extensions
end
Sets extensions to extensions, ensuring it is an array.
See also
#extensions
#extra_rdoc_files
#executables=
#extra_rdoc_files=
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0