Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError.new
new(name:, stack:)
lib/rubygems/safe_marshal/visitors/to_ruby.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems/safe_marshal/visitors/to_ruby.rb, line 395
def initialize(name:, stack:)
@name = name
@stack = stack
super "Attempting to load unpermitted class #{name.inspect} @ #{stack.join "."}"
end
No documentation available