Method: Path#chdir

Defined in:
lib/path/dir.rb

#chdir(&block) ⇒ Object

Changes the current working directory of the process to self. See Dir.chdir. The recommended way to use it is to use the block form, or not use it all!



94
95
96
# File 'lib/path/dir.rb', line 94

def chdir(&block)
  Dir.chdir(@path, &block)
end