class TrackRecordSections::Sections

The Sections class processes an array of Task instances provided by the instantiating caller. It determines where new Section or Group instances apply, in the context of running through the given Task array in order from first element to last.

Iterators and direct accessors are provided to get at processed Section and Group information.

Public Class Methods

new( tasks ) click to toggle source
# File lib/track_record_sections.rb, line 339
def initialize( tasks )
  initialize_sections( tasks )
end