class Git::CommandLine
def post_process_all(raw_outputs, normalize, chomp)
- Api: - private
Returns:
-
(Array
- the processed output of each command output object that supports `#string`)
Parameters:
-
chomp
(Boolean
) -- whether to chomp the output of each writer -
normalize
(Boolean
) -- whether to normalize the output of each writer -
raw_outputs
(Array
) -- the output to post-process
def post_process_all(raw_outputs, normalize, chomp) Array.new.tap do |result| raw_outputs.each { |raw_output| result << post_process(raw_output, normalize, chomp) } end end