Class

Shell

Inheritance
< Object
Included Modules
Error
  version.rb - shell version definition file
      $Release Version: 0.6.0$
      $Revision: 11708 $
      $Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
      by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd)

Classes & Modules

Attributes

Name Visibility R/W Description
cascade public RW
command_processor public R
cwd public R Dir related methods

Shell#cwd/dir/getwd/pwd Shell#chdir/cd Shell#pushdir/pushd Shell#popdir/popd Shell#mkdir Shell#rmdir

debug public RW
debug public RW
dir_stack public R
process_controller public R
record_separator public RW
system_path public R
umask public RW
verbose public RW
verbose public RW

Aliases

Method Alias Description
cwd → dir
cwd → pwd
cwd → getwd
debug → debug? alias cascade? cascade
debug → debug?
dir_stack → dirs
verbose → verbose?
verbose → verbose?

Methods

Class

Visibility Signature
public alias_command (ali, command, *opts, &block)
public cd (path)
public debug= (val)
public def_system_command (command, path = command)
public default_record_separator ()
public default_record_separator= (rs)
public default_system_path ()
public default_system_path= (path)
public install_system_commands (pre = "sys_")
public new ()
public notify (*opts) {|mes if iterator?| ...}
public unalias_command (ali)
public undef_system_command (command)

Instance

Visibility Signature
public cd (path = nil)
public chdir (path = nil) {|| ...}
public debug= (val)
public expand_path (path)
public inspect ()
public jobs ()
public kill (sig, command)
public popd ()
public popdir ()
public pushd (path = nil)
public pushdir (path = nil) {|| ...}
public system_path= (path)

Class Method Detail

alias_command(ali, command, *opts, &block)

cd(path)

debug=(val)

def_system_command(command, path = command)

command definitions

default_record_separator()

default_record_separator=(rs)

default_system_path()

default_system_path=(path)

install_system_commands(pre = "sys_")

new()

notify(*opts) {|mes if iterator?| ...}

unalias_command(ali)

undef_system_command(command)

Instance Method Detail

cd(path = nil)

Alias for chdir

chdir(path = nil) {|| ...}

If called as iterator, it restores the current directory when the block ends.

debug=(val)

expand_path(path)

inspect()

jobs()

process management

kill(sig, command)

popd()

Alias for popdir

popdir()

pushd(path = nil)

Alias for pushdir

pushdir(path = nil) {|| ...}

system_path=(path)