class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError - Documentation for Ruby 4.0
Description: Documentation for the Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError class
Keywords: ruby,class,Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError

🔍

No recent searches

# class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedClassError

### Public Class Methods

new (name:, stack:)
Source

    # File lib/rubygems/safe_marshal/visitors/to_ruby.rb, line 408
    def initialize(name:, stack:)
      @name = name
      @stack = stack
      super "Attempting to load unpermitted class #{name.inspect} @ #{stack.join "."}"
    end

Calls superclass method `Exception::new`