singleton method Dir.exists?

exists?(file_name) -> bool[permalink][rdoc][edit]

このメソッドは Ruby 2.1 から deprecated です。Dir.exist? を使用してください。