Project

General

Profile

Feature #14931

[DOC] exception keyword argument is not documented in some methods

Added by znz (Kazuhiro NISHIYAMA) about 1 year ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:88045]

Description

Some methods accept exception keyword argument since 2.6.0, but it is not documented in rdoc yet.

In NEWS,

  • Kernel.#Complex takes :exception option to specify the way of error handling [Feature #12732]

  • Kernel.#Float takes :exception option to specify the way of error handling [Feature #12732]

  • Kernel.#Integer takes :exception option to specify the way of error handling [Feature #12732]

  • Kernel.#Rational takes :exception option to specify the way of error handling [Feature #12732]

  • Kernel.#system takes :exception option to raise an exception on
    failure. [Feature #14386]

Also available in: Atom PDF