method

popdir

v1_9_3_125 - Show latest stable - Class: Shell
popdir()
public

No documentation available.

# File lib/shell.rb, line 207
  def popdir
    check_point

    notify("popdir")
    if pop = @dir_stack.pop
      chdir pop
      notify "dir stack: [#{@dir_stack.join ', '}]"
      self
    else
      Shell.Fail DirStackEmpty
    end
    Void.new(self)
  end