Module: FSSM::Tree::NodeEnumerable

### Home Classes Methods

### In Files

- lib/fssm/tree.rb

### Methods

- #each

### Included Modules

- FSSM::Tree::NodeBase
- Enumerable

### Class/Module Index

Quicksearch

- FSSM
- FSSM::Backends
- FSSM::Backends::Inotify
- FSSM::Backends::Polling
- FSSM::Backends::RBFSEvent
- FSSM::Monitor
- FSSM::Path
- FSSM::Pathname
- FSSM::State
- FSSM::State::Directory
- FSSM::State::File
- FSSM::Support
- FSSM::Tree
- FSSM::Tree::Cache
- FSSM::Tree::CacheDebug
- FSSM::Tree::Node
- FSSM::Tree::NodeBase
- FSSM::Tree::NodeEnumerable
- FSSM::Tree::NodeInsertion

No matching classes.

# FSSM::Tree::NodeEnumerable

### Public Instance Methods

each(prefix=nil, &block) click to toggle source

    # File lib/fssm/tree.rb, line 34
    def each(prefix=nil, &block)
      @children.each do |segment, node|
        cprefix = prefix ?
            FSSM::Pathname.for(prefix).join(segment) :
            FSSM::Pathname.for(segment)
        yield [cprefix, node]
        node.each(cprefix, &block)
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.