module Utils::Find::ConfigurableFinder::PathExtension

def exist?

def exist?
  !!file
end

def file

def file
  begin
    @finder.open_file(self)
  rescue Errno::ENOENT, Errno::EACCES
    return
  end
end

def lstat

def lstat
  file and file.lstat
end

def pathname

def pathname
  Pathname.new(self)
end

def stat

def stat
  file and file.stat
end

def suffix

def suffix
  pathname.extname[1..-1]
end