Method: Bundler::FileUtils::Entry_#exist?

Defined in:
lib/bundler/vendor/fileutils/lib/fileutils.rb

#exist?Boolean

Returns:

  • (Boolean)
[View source]

2111
2112
2113
2114
2115
2116
2117
2118
# File 'lib/bundler/vendor/fileutils/lib/fileutils.rb', line 2111

def exist?
  begin
    lstat
    true
  rescue Errno::ENOENT
    false
  end
end