class Gem::SafeMarshal::Visitors::ToRuby::UnpermittedIvarError - rubygems: Ruby Standard Library Documentation

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

### Public Class Methods

new(symbol:, klass:, stack:) click to toggle source
Calls superclass method

    # File rubygems/safe_marshal/visitors/to_ruby.rb, line 399
    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