Class: Ibex::ErrorMessages::Update

Inherits:
Object
  • Object
show all
Defined in:
lib/ibex/error_messages.rb

Overview

Deterministic update output and review classifications.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source:, uncovered:, unreachable:, moved:) ⇒ Update

Returns a new instance of Update.



58
59
60
61
62
63
64
# File 'lib/ibex/error_messages.rb', line 58

def initialize(source:, uncovered:, unreachable:, moved:)
  @source = source.freeze
  @uncovered = uncovered.freeze
  @unreachable = unreachable.freeze
  @moved = moved.freeze
  freeze
end

Instance Attribute Details

#movedObject (readonly)

: Array



55
56
57
# File 'lib/ibex/error_messages.rb', line 55

def moved
  @moved
end

#sourceObject (readonly)

: String



52
53
54
# File 'lib/ibex/error_messages.rb', line 52

def source
  @source
end

#uncoveredObject (readonly)

: Array



53
54
55
# File 'lib/ibex/error_messages.rb', line 53

def uncovered
  @uncovered
end

#unreachableObject (readonly)

: Array



54
55
56
# File 'lib/ibex/error_messages.rb', line 54

def unreachable
  @unreachable
end