pushdir(path)
pushdir(path) { &block }
pushdir(path) { &block }
Instance Public methods
Pushes the current directory to the directory stack, changing the current
directory to path
.
If path
is omitted, it exchanges its current directory and the
top of its directory stack.
If a block is given, it restores the current directory when the block ends.
Please login to continue.