def parse!
      unless @type.nil? || VALID_TASKS.include?(@type)
        raise TaskList::Exceptions::InvalidTaskTypeError.new type: @type
      end

      @files.each { |f| parsef! file: f }
    end
def parse!
      unless @type.nil? || VALID_TASKS.include?(@type)
        raise TaskList::Exceptions::InvalidTaskTypeError.new type: @type
      end

      @files.each { |f| parsef! file: f }
    end
def parse! unless @type . nil? || VALID_TASKS . include? ( @type ) raise TaskList :: Exceptions :: InvalidTaskTypeError . new type : @type end @files . each { | f | parsef! file : f } end
Parse all the collected files to find tasks
 and populate the tasks hash
Parse all the collected files to find tasks and populate the tasks hash