Exception: Ibex::Equiv::Difference
- Inherits:
-
Ibex::Error
- Object
- StandardError
- Ibex::Error
- Ibex::Equiv::Difference
- Defined in:
- lib/ibex/equiv.rb,
sig/ibex/equiv.rbs
Overview
Instance Attribute Summary collapse
- #details ⇒ Hash[Symbol, Object?] readonly
Instance Method Summary collapse
-
#initialize(details) ⇒ Difference
constructor
A new instance of Difference.
Constructor Details
#initialize(details) ⇒ Difference
Returns a new instance of Difference.
26 27 28 29 30 |
# File 'lib/ibex/equiv.rb', line 26 def initialize(details) @details = IR.deep_freeze(details) label = details[:witness] ? " for #{details.fetch(:witness).inspect}" : "" super("(equiv):1:1: comparison found a difference#{label}") end |
Instance Attribute Details
#details ⇒ Hash[Symbol, Object?] (readonly)
23 24 25 |
# File 'lib/ibex/equiv.rb', line 23 def details @details end |