Class: LLT::Review::Alignment::Difference::Word
- Inherits:
-
Common::Difference::Word
- Object
- Common::Difference::Word
- LLT::Review::Alignment::Difference::Word
- Defined in:
- lib/llt/review/alignment/difference/word.rb
Instance Attribute Summary
Attributes included from Helpers::ReviewReporter
Instance Method Summary collapse
- #diff_id ⇒ Object
- #new ⇒ Object
-
#original ⇒ Object
go right to the translation - we have the nrefs too, not sure if we need them actually.
Methods inherited from Common::Difference::Word
Methods included from Helpers::ReviewReporter
#initialize, #item, #report_diff, #xml_attributes
Instance Method Details
#diff_id ⇒ Object
4 5 6 |
# File 'lib/llt/review/alignment/difference/word.rb', line 4 def diff_id @diff_id ||= "#{@id}:#{original}|#{new}" end |
#new ⇒ Object
14 15 16 |
# File 'lib/llt/review/alignment/difference/word.rb', line 14 def new @new ||= @container[:translation].new end |
#original ⇒ Object
go right to the translation - we have the nrefs too, not sure if we need them actually
10 11 12 |
# File 'lib/llt/review/alignment/difference/word.rb', line 10 def original @original ||= @container[:translation].original end |