Analogous to ReportUserData, but records the a user’s total worked hours for the whole row. ReportUserRowTotal objects should be added to a UserRow in the order the users appear in the Report’s @users array so that indices match between user data arrays in cells and the row user total arrays.
Pass a ReportRow object containing user data to count and the index in the cell user data arrays of the user in which you have an interest.
# File lib/track_record_report.rb, line 1237 def calculate!( row, user_index ) reset!() row.cells.each do | cell | user_data = cell.user_data[ user_index ] add!( user_data ) end end