Class: LLT::Review::Treebank::Report::Datapoints
- Inherits:
-
Generic
- Object
- Common::Report::Generic
- Generic
- LLT::Review::Treebank::Report::Datapoints
- 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
Instance Method Summary collapse
-
#initialize(total = 1) ⇒ Datapoints
constructor
A new instance of Datapoints.
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
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 |