Update mcollective.init script according to OSCI-969
[packages/precise/mcollective.git] / mcollective-2.3.3 / lib / mcollective / aggregate / result / numeric_result.rb
1 module MCollective
2   class Aggregate
3     module Result
4       class NumericResult<Base
5         def to_s
6           return "" if @result[:value].nil?
7
8           return @aggregate_format % @result[:value]
9         end
10       end
11     end
12   end
13 end