lib/teuton/report/close.rb in teuton-0.0.1 vs lib/teuton/report/close.rb in teuton-2.1.0
- old
+ new
@@ -1,8 +1,15 @@
# frozen_string_literal: true
# Close Show methods for Report class.
class Report
+ ##
+ # Calculate final values:
+ # * grade
+ # * max_weight
+ # * good_weight,d
+ # * fail_weight
+ # * fail_counter
def close
app = Application.instance
max = 0.0
good = 0.0
fail = 0.0