1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/shell.rb, lib/shell/process-controller.rb,

lib/shell/command-processor.rb: translate Japanese comments into
English.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2001-05-17 10:19:45 +00:00
parent 4578a096d1
commit 491c26f3ef
4 changed files with 30 additions and 30 deletions

View file

@ -123,10 +123,10 @@ class Shell
end
end
# ほとんどのShell Command は CommandProcessor により定義される.
# Most Shell commands are defined via CommandProcessor
#
# Dir関連メソッド
# Dir related methods
#
# Shell#cwd/dir/getwd/pwd
# Shell#chdir/cd
@ -143,7 +143,8 @@ class Shell
attr :dir_stack
alias dirs dir_stack
# イテレータとして呼ばれると一時的にcdすることになる.
# If called as iterator, it restores the current directory when the
# block ends.
def chdir(path = nil)
if iterator?
cwd_old = @cwd
@ -202,7 +203,7 @@ class Shell
#
# process 管理
# process management
#
def jobs
@process_controller.jobs
@ -213,7 +214,7 @@ class Shell
end
#
# command 定義
# command definitions
#
def Shell.def_system_command(command, path = command)
CommandProcessor.def_system_command(command, path)