Sha256: 62af5a322d5795952d94c7331146c3a0d047c4efd4b8e2f4456baddefa958404
Contents?: true
Size: 602 Bytes
Versions: 75
Compression:
Stored size: 602 Bytes
Contents
module MCollective class Aggregate module Result class Base attr_accessor :result, :aggregate_format, :action def initialize(result, aggregate_format, action) raise "No aggregate_format defined in ddl or aggregate function" unless aggregate_format @result = result @aggregate_format = aggregate_format @action = action end def to_s raise "'to_s' method not implemented for result class '#{self.class}'" end def result_type @result[:type] end end end end end
Version data entries
75 entries across 75 versions & 2 rubygems