Module: FileUtils

Defined in:
lib/core_ext/fileutils.rb

Class Method Summary collapse

Class Method Details

.hidden_file?(path_to_file) ⇒ Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/core_ext/fileutils.rb', line 2

def self.hidden_file?(path_to_file)
  path_to_file[0] == '.'
end