ffa77ba8c7888574bac5fd5c456706fe9413d8e1
[packages/precise/mcollective.git] / 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