Exception: Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError
- Defined in:
- lib/rubygems/safe_marshal/visitors/to_ruby.rb
Instance Method Summary collapse
-
#initialize(name:, stack:) ⇒ UnpermittedClassError
constructor
A new instance of UnpermittedClassError.
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 |