class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedIvarError

Public Class Methods

new(symbol:, klass:, stack:) click to toggle source
Calls superclass method Exception::new
# 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