Class: LLT::Review::Treebank::Difference::Head

Inherits:
Attribute show all
Defined in:
lib/llt/review/treebank/difference/head.rb

Instance Attribute Summary

Attributes inherited from Generic

#new, #original

Attributes included from Helpers::ReviewReporter

#unique

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

#report_locationObject



8
9
10
# File 'lib/llt/review/treebank/difference/head.rb', line 8

def report_location
  :heads
end

#write_to_report(report, unique) ⇒ Object



4
5
6
# File 'lib/llt/review/treebank/difference/head.rb', line 4

def write_to_report(report, unique)
  report[report_location].add_wrong(unique)
end