method
chdir
ruby latest stable - Class:
Pathname
Method deprecated or moved
This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.
chdir(&block)public
Pathname#chdir is obsoleted at 1.8.1.
# File lib/pathname.rb, line 978
def chdir(&block)
warn "Pathname#chdir is obsoleted. Use Dir.chdir."
Dir.chdir(@path, &block)
end