Bug #2518

Ruby で使われる記号の意味 の内、省略可能な引数に関する記述を修正する

Added by sho-h (Sho Hashimoto) over 2 years ago. Updated about 1 year ago.

[ruby-reference-manual:1949]
Status:Closed Start date:12/23/2009
Priority:Low Due date:
Assignee:- % Done:

100%

Category:-
Target version:-
reporter: ruby_version:

Description

以下の記述は不要だと思います。

  : Range.new(first,last[, exclude_end])

   説明文の中で、省略可能であることを示す表記法(Ruby言語の要素ではない)。

(実際には[]を使った引数の省略に関する記述は残ってしまっていますが、)るり
までは上記の記述方法は許さない方針だからですね。


なので、「省略された場合はデフォルト値が使われる」という風に文言を修正
して「=」の所に移すべきのように思いました。

Associated revisions

Revision 4184
Added by okkez almost 2 years ago

update document (fix #2518)

History

Updated by okkez (okkez _) almost 2 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
This issue was solved with changeset r4184.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

Also available in: Atom PDF