Class: Dir
Class Method Summary collapse
Class Method Details
.exists?(file_name) ⇒ Boolean
36 37 38 39 |
# File 'lib/puppet/util/monkey_patches.rb', line 36 def self.exists?(file_name) warn("Dir.exists?('#{file_name}') is deprecated, use Dir.exist? instead") if $VERBOSE Dir.exist?(file_name) end |