method

open

open(path, mode)
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