X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=lib%2Fmcollective%2Faggregate%2Fresult%2Fcollection_result.rb;fp=lib%2Fmcollective%2Faggregate%2Fresult%2Fcollection_result.rb;h=1ee01fc86e9cf22dbf1f095de5bcfe943982be51;hb=b87d2f4e68281062df1913440ca5753ae63314a9;hp=0000000000000000000000000000000000000000;hpb=ab0ea530b8ac956091f17b104ab2311336cfc250;p=packages%2Fprecise%2Fmcollective.git diff --git a/lib/mcollective/aggregate/result/collection_result.rb b/lib/mcollective/aggregate/result/collection_result.rb new file mode 100644 index 0000000..1ee01fc --- /dev/null +++ b/lib/mcollective/aggregate/result/collection_result.rb @@ -0,0 +1,19 @@ +module MCollective + class Aggregate + module Result + class CollectionResult y[1]}.reverse.each do |value| + result.puts @aggregate_format % [value[0], value[1]] + end + + result.string.chomp + end + end + end + end +end