Exception: Gem::SafeMarshal::Visitors::ToRuby::UnpermittedSymbolError

Inherits:
Error
  • Object
show all
Defined in:
lib/rubygems/safe_marshal/visitors/to_ruby.rb

Instance Method Summary collapse

Constructor Details

#initialize(symbol:, stack:) ⇒ UnpermittedSymbolError

Returns a new instance of UnpermittedSymbolError.



378
379
380
381
382
# File 'lib/rubygems/safe_marshal/visitors/to_ruby.rb', line 378

def initialize(symbol:, stack:)
  @symbol = symbol
  @stack = stack
  super "Attempting to load unpermitted symbol #{symbol.inspect} @ #{stack.join "."}"
end