From eab46f5fc61b08cdcef60954dc6e71b4bee0a201 Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 5 Jul 2001 15:47:03 +0000 Subject: Detypo and reword a bit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/readline/README | 20 +++++++++++--------- ext/readline/README.jp | 4 ++-- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/ext/readline/README b/ext/readline/README index 1eb1f8bb64..9bbf325c99 100644 --- a/ext/readline/README +++ b/ext/readline/README @@ -11,17 +11,18 @@ Example: -readline(prompt, add_hostory=nil) +readline(prompt, add_history=nil) - Reads one line wit line edit. the line is added to the - history also if "add" is true. + Reads one line with line editing. The inputted line is added to the + history if add_history is true. - + completion_proc = proc - Specifies Proc object to determin completion behavior. It - shoule take input-string, and return completion candidates. + Specifies a Proc object to determine completion behavior. It + should take input-string, and return an array of completion + candidates. completion_proc @@ -37,12 +38,13 @@ completion_case_fold completion_append_character = char - Specifies a chacatcter to be appended on completion. - Nothing will be appended if empty string ("") or nil is specified. + Specifies a character to be appended on completion. + Nothing will be appended if an empty string ("") or nil is + specified. completion_append_character - Returns a string contains a character to be appended on + Returns a string containing a character to be appended on completion. The default is a space (" "). vi_editing_mode diff --git a/ext/readline/README.jp b/ext/readline/README.jp index e342ca4300..beb951fbf0 100644 --- a/ext/readline/README.jp +++ b/ext/readline/README.jp @@ -11,10 +11,10 @@ line = readline("Prompt> ", true) <モジュール関数> -readline(prompt, add=nil) +readline(prompt, add_history=nil) 一行入力を読み込みます。 - addがtrueの場合、ヒストリに読み込んだ文字列を追加します。 + add_historyがtrueの場合、ヒストリに読み込んだ文字列を追加します。 <クラスメソッド> -- cgit v1.2.3