Class: Lutaml::Model::Comparison
- Inherits:
-
Object
- Object
- Lutaml::Model::Comparison
- Defined in:
- lib/lutaml/model/comparison.rb
Overview
Comparison of two values for ComparableMapper
Instance Attribute Summary collapse
-
#original ⇒ Object
Returns the value of attribute original.
-
#updated ⇒ Object
Returns the value of attribute updated.
Instance Method Summary collapse
-
#initialize(original:, updated:) ⇒ Comparison
constructor
A new instance of Comparison.
Constructor Details
#initialize(original:, updated:) ⇒ Comparison
Returns a new instance of Comparison.
9 10 11 12 |
# File 'lib/lutaml/model/comparison.rb', line 9 def initialize(original:, updated:) @original = original @updated = updated end |
Instance Attribute Details
#original ⇒ Object
Returns the value of attribute original.
7 8 9 |
# File 'lib/lutaml/model/comparison.rb', line 7 def original @original end |
#updated ⇒ Object
Returns the value of attribute updated.
7 8 9 |
# File 'lib/lutaml/model/comparison.rb', line 7 def updated @updated end |