Exception: Gem::SafeMarshal::Visitors::ToRuby::UnpermittedIvarError
- Inherits:
-
Error
- Object
- StandardError
- Error
- Gem::SafeMarshal::Visitors::ToRuby::UnpermittedIvarError
- Defined in:
- lib/rubygems/safe_marshal/visitors/to_ruby.rb
Instance Method Summary collapse
-
#initialize(symbol:, klass:, stack:) ⇒ UnpermittedIvarError
constructor
A new instance of UnpermittedIvarError.
Constructor Details
#initialize(symbol:, klass:, stack:) ⇒ UnpermittedIvarError
Returns a new instance of UnpermittedIvarError.
386 387 388 389 390 391 |
# File 'lib/rubygems/safe_marshal/visitors/to_ruby.rb', line 386 def initialize(symbol:, klass:, stack:) @symbol = symbol @klass = klass @stack = stack super "Attempting to set unpermitted ivar #{symbol.inspect} on object of class #{klass} @ #{stack.join "."}" end |