Method: Cmds#chdir

Defined in:
lib/cmds.rb

#chdirnil, String | Pathname (readonly)

Optional directory to run the command in, set by the :chdir option in #initialize.

Returns:

  • (nil)

    If the command will not change directory to run (default behavior).

  • (String | Pathname)

    If the command will change directory to run.



138
139
140
# File 'lib/cmds.rb', line 138

def chdir
  @chdir
end