method

open

open(path, mode = nil, perm = 0666, &b)
public

CommandProcessor#open(path, mode)

  path:     String
  mode:     String
  return: File or Dir
Same as:
  File#open (when path is file)
  Dir#open  (when path is directory)
mode has an effect only when path is a file