Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::SafeMarshal.safe_load
safe_load(input)
lib/rubygems/safe_marshal.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/safe_marshal.rb, line 60
def self.safe_load(input)
load(input, permitted_classes: PERMITTED_CLASSES, permitted_symbols: PERMITTED_SYMBOLS, permitted_ivars: PERMITTED_IVARS)
end
No documentation available