From 491c26f3ef3fdcdc957548fdb2f773e2af6b252f Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 17 May 2001 10:19:45 +0000 Subject: * 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 --- lib/shell.rb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/shell.rb') 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) -- cgit v1.2.3