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.
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 |