Class TrackRecordReport::ReportUserData
In: lib/track_record_report.rb
Parent: ReportElementaryCalculator

Store information about a user‘s worked hours for a specific cell - that is, a specific task and date range. ReportUserData objects are associated with ReportCells, and those cells deal with passing over hours to be included in the user data total.

Methods

Public Instance methods

Add the given work packet‘s hours to the internal committed total.

[Source]

      # File lib/track_record_report.rb, line 1166
1166:     def add_committed_hours( packet )
1167:       @committed += packet.worked_hours
1168:     end

Add the given work packet‘s hours to the internal not committed total.

[Source]

      # File lib/track_record_report.rb, line 1172
1172:     def add_not_committed_hours( packet )
1173:       @not_committed += packet.worked_hours
1174:     end

[Validate]