Method: Path#hidden?

Defined in:
lib/path/predicates.rb

#hidden?Boolean

Whether this is a hidden path, i.e. starting with a dot.

Returns:

  • (Boolean)


35
36
37
# File 'lib/path/predicates.rb', line 35

def hidden?
  basename.to_s.start_with?('.')
end