Module: PathList::Finder

Module | PathList::Finder
In: | lib/more/facets/pathlist.rb

### Methods

find include?

### Attributes

find_ext | [RW] |

### Public Instance methods

find(filename, use_ext=true)

[Source]

    # File lib/more/facets/pathlist.rb, line 71
        def find(filename, use_ext=true)
          filename += '.' + @find_ext if @find_ext and use_ext
          to_a.each do |path|
            filepath = File.join(path, filename)
            return filepath if File.exist?( filepath )
          end
          return nil
        end

include?(filename, use_ext=true)

Alias for find

[Validate]