Method: Flexdot::Index#each

Defined in:
lib/flexdot/index.rb

#each(&block) ⇒ Object



9
10
11
12
13
# File 'lib/flexdot/index.rb', line 9

def each(&block)
  index.each do |root, descendants|
    fetch_descendants(descendants, paths: [root], &block)
  end
end