Class ActiveWarehouse::Aggregate::DwarfAggregate::Cell
In: lib/active_warehouse/aggregate/dwarf_aggregate.rb
Parent: Object

Methods

child=   new   to_s  

Attributes

child  [RW]  The child of the cell which will always be a node
key  [RW]  The cell key, which will always be a dimension id
node  [RW]  The node that this cell is a member of
value  [RW]  The value of the cell which will only be non-nil in the cells that appear in nodes in the last dimension

Public Class methods

[Source]

     # File lib/active_warehouse/aggregate/dwarf_aggregate.rb, line 266
266:         def initialize(key, value=nil)
267:           @key = key
268:           @value = value
269:         end

Public Instance methods

[Source]

     # File lib/active_warehouse/aggregate/dwarf_aggregate.rb, line 271
271:         def child=(node)
272:           node.parent = self
273:           @child = node
274:         end

[Source]

     # File lib/active_warehouse/aggregate/dwarf_aggregate.rb, line 276
276:         def to_s
277:           key
278:         end

[Validate]