class AwDatapipe::ObjectHash
A symbol table implemeted as a hash of objects keyed by their ids.
Public Class Methods
new(*objects)
click to toggle source
Calls superclass method
# File lib/aw_datapipe/object_hash.rb, line 4 def initialize(*objects) super() self.append(*objects) end
Public Instance Methods
append(*objects)
click to toggle source
Adds PipelineObjects to the symbol table along with any of their dependencies.
# File lib/aw_datapipe/object_hash.rb, line 11 def append(*objects) objects.each { |object| self[object.id] = object } self end
Also aliased as: <<