Exception: Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Error ,
StandardError
|
|
Instance Chain:
self,
Error ,
StandardError
|
|
Inherits: |
Gem::SafeMarshal::Visitors::ToRuby::Error
|
Defined in: | lib/rubygems/safe_marshal/visitors/to_ruby.rb |
Class Method Summary
- .new(name:, stack:) ⇒ UnpermittedClassError constructor
Constructor Details
.new(name:, stack:) ⇒ UnpermittedClassError
# 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