method

new

v1_9_3_125 - Show latest stable - Class: Shell
new(pwd = Dir.pwd, umask = nil)
public

No documentation available.

# File lib/shell.rb, line 90
  def initialize(pwd = Dir.pwd, umask = nil)
    @cwd = File.expand_path(pwd)
    @dir_stack = []
    @umask = umask

    @system_path = Shell.default_system_path
    @record_separator = Shell.default_record_separator

    @command_processor = CommandProcessor.new(self)
    @process_controller = ProcessController.new(self)

    @verbose = Shell.verbose
    @debug = Shell.debug
  end