aboutsummaryrefslogtreecommitdiffstats
path: root/lib/shell.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-17 10:19:45 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-05-17 10:19:45 +0000
commit491c26f3ef3fdcdc957548fdb2f773e2af6b252f (patch)
tree6ee7cea921d64f37739eafe578f2c3daf3927fe9 /lib/shell.rb
parent4578a096d1b12ad7c4d988ceaee461c4a7850a89 (diff)
downloadruby-491c26f3ef3fdcdc957548fdb2f773e2af6b252f.tar.gz
* 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
Diffstat (limited to 'lib/shell.rb')
-rw-r--r--lib/shell.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/shell.rb b/lib/shell.rb
index 5babc4175b..1d28834213 100644
--- a/lib/shell.rb
+++ b/lib/shell.rb
@@ -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)