Class: LLT::Review::Treebank::Report::Datapoints

Inherits:
Generic show all
Includes:
Helpers::Reportable
Defined in:
lib/llt/review/treebank/report/datapoints.rb

Instance Attribute Summary

Attributes included from Helpers::Reportable

#id, #right, #total, #unique, #wrong

Attributes inherited from Common::Report::Generic

#reports_to_request

Instance Method Summary collapse

Methods included from Helpers::Reportable

#add, #add_total, #add_wrong, #clone, #count_rights, #increment, #init_diff, #percentage, #sort, #sort!, #xml_attributes, #xml_tag

Methods inherited from Generic

#collect_reports

Methods inherited from Common::Report::Generic

#collect_reports, #id, #xml_attributes, #xml_tag

Constructor Details

#initialize(total = 1) ⇒ Datapoints

Returns a new instance of Datapoints.



6
7
8
# File 'lib/llt/review/treebank/report/datapoints.rb', line 6

def initialize(total = 1)
  super(:datapoints, total)
end