Class: LLT::Review::Treebank::Difference::Attribute
- Defined in:
- lib/llt/review/treebank/difference/attribute.rb
Instance Attribute Summary
Attributes inherited from Generic
Attributes included from Helpers::ReviewReporter
Instance Method Summary collapse
Methods inherited from Generic
#diff_id, #initialize, #type, #xml_attributes, #xml_tag
Methods included from Helpers::ReviewReporter
#diff_id, #initialize, #item, #report_diff, #xml_attributes
Constructor Details
This class inherits a constructor from LLT::Review::Treebank::Difference::Generic
Instance Method Details
#write_to_report(report, unique) ⇒ Object
4 5 6 7 8 |
# File 'lib/llt/review/treebank/difference/attribute.rb', line 4 def write_to_report(report, unique) container = report[report_location] container.add_wrong(unique) container[item.to_s].add_wrong(unique) end |