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

# class MCollective::Aggregate::Result::Base

### Attributes

action[RW]
aggregate_format[RW]
result[RW]

### Public Class Methods

new(result, aggregate_format, action) click to toggle source

       # File lib/mcollective/aggregate/result/base.rb
     7 def initialize(result, aggregate_format, action)
     8   raise "No aggregate_format defined in ddl or aggregate function" unless aggregate_format
     9
    10   @result = result
    11   @aggregate_format = aggregate_format
    12   @action = action
    13 end

### Public Instance Methods

result_type() click to toggle source

       # File lib/mcollective/aggregate/result/base.rb
    19 def result_type
    20   @result[:type]
    21 end

to_s() click to toggle source

       # File lib/mcollective/aggregate/result/base.rb
    15 def to_s
    16   raise "'to_s' method not implemented for result class '#{self.class}'"
    17 end