class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedSymbolError - rubygems: Ruby Standard Library Documentation

# class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedSymbolError

### Public Class Methods

new(symbol:, stack:) click to toggle source
Calls superclass method

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