Class Juicer::DependencyResolver
In: lib/juicer/dependency_resolver/dependency_resolver.rb
Parent: Object

Methods

each   new   resolve   resolve_path  

Included Modules

Enumerable

Attributes

files  [R] 

Public Class methods

Public Instance methods

Yield files recursively. Resolve dependencies first, then call each, or any other enumerable methods.

Resolve dependencies. This method accepts an optional block. The block will receive each file in succession. The file is included in the returned collection if the block is true for the given file. Without a block every found file is returned.

Resolves a path relative to another. If the path is absolute (ie it starts with a protocol or /) the :document_root options has to be set as well.

[Validate]