Parent

Methods

Class Index [+]

Quicksearch

MCollective::Aggregate::Result::CollectionResult

Public Instance Methods

to_s() click to toggle source

(Not documented)

    # 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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.