Exception: Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError

Inherits:
Error
  • Object
show all
Defined in:
lib/rubygems/safe_marshal/visitors/to_ruby.rb

Instance Method Summary collapse

Constructor Details

#initialize(name:, stack:) ⇒ UnpermittedClassError

Returns a new instance of UnpermittedClassError.



395
396
397
398
399
# File '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