X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=doc%2Fclasses%2FMCollective%2FAggregate%2FResult%2FCollectionResult.html;fp=doc%2Fclasses%2FMCollective%2FAggregate%2FResult%2FCollectionResult.html;h=6436817e1a3cb6623279e99deb185c8f8165533d;hb=d1f1649ba43c5cbc43c4beb2380096ba051d646a;hp=0000000000000000000000000000000000000000;hpb=8a3fe7daeecccf43dd71c59371c5005400d35101;p=packages%2Fprecise%2Fmcollective.git diff --git a/doc/classes/MCollective/Aggregate/Result/CollectionResult.html b/doc/classes/MCollective/Aggregate/Result/CollectionResult.html new file mode 100644 index 0000000..6436817 --- /dev/null +++ b/doc/classes/MCollective/Aggregate/Result/CollectionResult.html @@ -0,0 +1,156 @@ + + + + + + Class: MCollective::Aggregate::Result::CollectionResult + + + + + + + + + + +
+ + + + + + + + + + + + + + +
ClassMCollective::Aggregate::Result::CollectionResult
In: + + lib/mcollective/aggregate/result/collection_result.rb + +
+
Parent: + + Base + +
+
+ + +
+ + + +
+ + + +
+ +
+

Methods

+ +
+ to_s   +
+
+ +
+ + + + +
+ + + + + + + + + +
+

Public Instance methods

+ +
+ + + + +
+

[Source]

+
+
+    # File lib/mcollective/aggregate/result/collection_result.rb, line 5
+ 5:         def to_s
+ 6:           return "" if @result[:value].keys.include?(nil)
+ 7: 
+ 8:           result = StringIO.new
+ 9: 
+10:           @result[:value].sort{|x,y| x[1] <=> y[1]}.reverse.each do |value|
+11:             result.puts @aggregate_format % [value[0], value[1]]
+12:           end
+13: 
+14:           result.string.chomp
+15:         end
+
+
+
+
+ + +
+ + +
+ + +
+

[Validate]

+
+ + + \ No newline at end of file