class Concurrent::MultipleAssignmentError

Raised when an attempt is made to modify an immutable object (such as an `IVar`) after its final state has been set.

Attributes

inspection_data[R]

Public Class Methods

new(message = nil, inspection_data = nil) click to toggle source
Calls superclass method
# File lib/concurrent-ruby/concurrent/errors.rb, line 36
def initialize(message = nil, inspection_data = nil)
  @inspection_data = inspection_data
  super message
end

Public Instance Methods

inspect() click to toggle source
Calls superclass method
# File lib/concurrent-ruby/concurrent/errors.rb, line 41
def inspect
  format '%s %s>', super[0..-2], @inspection_data.inspect
end