Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Version#marshal_load
marshal_load(array)
lib/rubygems/version.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/version.rb, line 290
def marshal_load(array)
initialize array[0]
end
Load custom marshal format. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.
See also
#marshal_dump
#partition_segments
#freeze
#prerelease?
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0