How to check if a directory/file/symlink exists with one command in Ruby

前端 未结 2 1873
粉色の甜心
粉色の甜心 2020-12-02 21:38

Is there a single way of detecting if a directory/file/symlink/etc. entity (more generalized) exists?

I need a single function because I need to check an array of p

2条回答
提交回复
热议问题