End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.marshal_version
marshal_version
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems.rb, line 663
def self.marshal_version
"#{Marshal::MAJOR_VERSION}.#{Marshal::MINOR_VERSION}"
end
The version of the Marshal format for your Ruby.
See also
.location_of_caller
.needs
.load_yaml
.operating_system_defaults
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1