Method: ShellHelpers::PathnameExt::Base#hidden?

Defined in:
lib/shell_helpers/pathname.rb

#hidden?Boolean

Returns:

  • (Boolean)


318
319
320
321
# File 'lib/shell_helpers/pathname.rb', line 318

def hidden?
  #without abs_path '.' is considered as hidden
  abs_path.basename.to_s[0]=="."
end