Methods
find
include?
Attributes
[RW] | find_ext |
Public Instance methods
This method is also aliased as
include?
[ + ]
# 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
Alias for find