Discrepancy in operation of File.exist?

Consider simple file.rb:

puts File.exist?("C:/work/napa.net/gui/bin/script")

There exists directory C:/work/napa.net/gui/bin/script

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs