Class: Guideline::Visitor::PathFinder
- Inherits:
-
Object
- Object
- Guideline::Visitor::PathFinder
- Defined in:
- lib/guideline/visitor.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ PathFinder
constructor
A new instance of PathFinder.
- #paths ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ PathFinder
Returns a new instance of PathFinder.
57 58 59 |
# File 'lib/guideline/visitor.rb', line 57 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
51 52 53 |
# File 'lib/guideline/visitor.rb', line 51 def @options end |
Class Method Details
.find(options = {}) ⇒ Object
53 54 55 |
# File 'lib/guideline/visitor.rb', line 53 def self.find( = {}) new().paths end |
Instance Method Details
#paths ⇒ Object
61 62 63 |
# File 'lib/guideline/visitor.rb', line 61 def paths (found_paths - excepted_paths).select(&:exist?) end |