Class: Fit::Summary
Constant Summary collapse
- @@counts_key =
'counts'
Constants inherited from Fixture
Fixture::GRAY, Fixture::GREEN, Fixture::RED, Fixture::YELLOW
Instance Attribute Summary
Attributes inherited from Fixture
#args, #counts, #listener, #summary
Instance Method Summary collapse
Methods inherited from Fixture
camel, #check, #do_cell, #do_cells, #do_row, #do_rows, #do_tables, #error, escape, #exception, #find_class, #fixture_name, #get_args_for_table, #get_linked_fixture_with_args, gray, #ignore, #info, #initialize, #interpret_following_tables, #interpret_tables, label, metadata, #parse, #right, #total_errors, #totals, #wrong
Constructor Details
This class inherits a constructor from Fit::Fixture
Instance Method Details
#do_table(table) ⇒ Object
9 10 11 12 |
# File 'lib/fit/summary.rb', line 9 def do_table table @summary[@@counts_key] = totals table.parts.more = rows @summary.keys.sort end |