Class: Plushie::Event::Diagnostic::DuplicateId

Inherits:
Data
  • Object
show all
Defined in:
lib/plushie/event/diagnostic.rb

Overview

A widget ID collided with one already declared within the same window scope.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, window_id: nil) ⇒ DuplicateId

Returns a new instance of DuplicateId.



29
30
31
# File 'lib/plushie/event/diagnostic.rb', line 29

def initialize(id:, window_id: nil)
  super
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



28
29
30
# File 'lib/plushie/event/diagnostic.rb', line 28

def id
  @id
end

#window_idObject (readonly)

Returns the value of attribute window_id

Returns:

  • (Object)

    the current value of window_id



28
29
30
# File 'lib/plushie/event/diagnostic.rb', line 28

def window_id
  @window_id
end