Exception: Gem::SafeMarshal::Visitors::ToRuby::UnpermittedSymbolError
- Inherits:
- 
      Error
      
        - Object
- StandardError
- Error
- Gem::SafeMarshal::Visitors::ToRuby::UnpermittedSymbolError
 
- Defined in:
- lib/rubygems/safe_marshal/visitors/to_ruby.rb
Instance Method Summary collapse
- 
  
    
      #initialize(symbol:, stack:)  ⇒ UnpermittedSymbolError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UnpermittedSymbolError. 
Constructor Details
#initialize(symbol:, stack:) ⇒ UnpermittedSymbolError
Returns a new instance of UnpermittedSymbolError.
| 391 392 393 394 395 | # File 'lib/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 |