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

Methods

find   include?  

Attributes

find_ext  [RW] 

Public Instance methods

[Source]

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

Alias for find

[Validate]