Class: Yarrow::Content::Expansion::Aggregator

Inherits:
Object
  • Object
show all
Defined in:
lib/yarrow/content/expansion/aggregator.rb

Direct Known Subclasses

BasenameMerge, DirectoryMerge, FilenameMap

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(graph) ⇒ Aggregator

Returns a new instance of Aggregator.



7
8
9
10
# File 'lib/yarrow/content/expansion/aggregator.rb', line 7

def initialize(graph)
  @graph = graph
  @collections = {}
end

Instance Attribute Details

#graphObject (readonly)

Returns the value of attribute graph.



5
6
7
# File 'lib/yarrow/content/expansion/aggregator.rb', line 5

def graph
  @graph
end

Instance Method Details

#after_traversal(policy) ⇒ Object



24
25
# File 'lib/yarrow/content/expansion/aggregator.rb', line 24

def after_traversal(policy)
end

#before_traversal(policy) ⇒ Object



12
13
# File 'lib/yarrow/content/expansion/aggregator.rb', line 12

def before_traversal(policy)
end

#expand_directory(collection, policy) ⇒ Object



18
19
# File 'lib/yarrow/content/expansion/aggregator.rb', line 18

def expand_directory(collection, policy)
end

#expand_file(entity, policy) ⇒ Object



21
22
# File 'lib/yarrow/content/expansion/aggregator.rb', line 21

def expand_file(entity, policy)
end

#expand_source(container, policy) ⇒ Object



15
16
# File 'lib/yarrow/content/expansion/aggregator.rb', line 15

def expand_source(container, policy)
end