🔍

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`