Class: LLT::Review::Alignment::Difference::Nrefs
- Inherits:
-
Object
- Object
- LLT::Review::Alignment::Difference::Nrefs
- Includes:
- Core::Structures::HashContainable, Helpers::ReviewReporter
- Defined in:
- lib/llt/review/alignment/difference/nrefs.rb
Overview
This whole class could arguably deleted, not sure there is any need for it
Instance Attribute Summary
Attributes included from Helpers::ReviewReporter
Instance Method Summary collapse
- #id ⇒ Object
-
#initialize(original, new) ⇒ Nrefs
constructor
A new instance of Nrefs.
- #xml_attributes ⇒ Object
Methods included from Helpers::ReviewReporter
Constructor Details
#initialize(original, new) ⇒ Nrefs
Returns a new instance of Nrefs.
12 13 14 15 16 17 |
# File 'lib/llt/review/alignment/difference/nrefs.rb', line 12 def initialize(original, new) @id = id @original = original @new = new @container = {} end |
Instance Method Details
#id ⇒ Object
19 20 21 |
# File 'lib/llt/review/alignment/difference/nrefs.rb', line 19 def id xml_tag end |
#xml_attributes ⇒ Object
23 24 25 |
# File 'lib/llt/review/alignment/difference/nrefs.rb', line 23 def xml_attributes { original: @original, new: @new, unique: @unique } end |