class MCollective::Aggregate::Result::CollectionResult - mcollective version 2.12.5

# class MCollective::Aggregate::Result::CollectionResult

### Public Instance Methods

to_s() click to toggle source

       # File lib/mcollective/aggregate/result/collection_result.rb
     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