[前][次][番号順一覧][スレッド一覧]

ruby-changes:52828

From: stomar <ko1@a...>
Date: Sat, 13 Oct 2018 05:37:37 +0900 (JST)
Subject: [ruby-changes:52828] stomar:r65040 (trunk): readline.c: improve docs

stomar	2018-10-13 05:37:30 +0900 (Sat, 13 Oct 2018)

  New Revision: 65040

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65040

  Log:
    readline.c: improve docs
    
    * ext/readline/readline.c: [DOC] fix typo in docs for
      Readline.completion_quote_character; enable link to method.

  Modified files:
    trunk/ext/readline/readline.c
Index: ext/readline/readline.c
===================================================================
--- ext/readline/readline.c	(revision 65039)
+++ ext/readline/readline.c	(revision 65040)
@@ -1314,12 +1314,12 @@ readline_s_get_completion_append_charact https://github.com/ruby/ruby/blob/trunk/ext/readline/readline.c#L1314
  *   Readline.completion_quote_character -> char
  *
  * When called during a completion (e.g. from within your completion_proc),
- * it will return a string containing the chracter used to quote the
+ * it will return a string containing the character used to quote the
  * argument being completed, or nil if the argument is unquoted.
  *
  * When called at other times, it will always return nil.
  *
- * Note that ``Readline.completer_quote_characters`` must be set,
+ * Note that Readline.completer_quote_characters must be set,
  * or this method will always return nil.
  */
 static VALUE

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]