mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Update warning categories
- Fix indentations of labeled lists. - Mention performance category.
This commit is contained in:
parent
533dcb8e52
commit
0622c78869
1 changed files with 13 additions and 7 deletions
20
error.c
20
error.c
|
@ -201,14 +201,20 @@ rb_warning_category_enabled_p(rb_warning_category_t category)
|
||||||
* Returns the flag to show the warning messages for +category+.
|
* Returns the flag to show the warning messages for +category+.
|
||||||
* Supported categories are:
|
* Supported categories are:
|
||||||
*
|
*
|
||||||
* +:deprecated+ :: deprecation warnings
|
* +:deprecated+ ::
|
||||||
* * assignment of non-nil value to <code>$,</code> and <code>$;</code>
|
* deprecation warnings
|
||||||
* * keyword arguments
|
* * assignment of non-nil value to <code>$,</code> and <code>$;</code>
|
||||||
* * proc/lambda without block
|
* * keyword arguments
|
||||||
* etc.
|
* * proc/lambda without block
|
||||||
|
* etc.
|
||||||
*
|
*
|
||||||
* +:experimental+ :: experimental features
|
* +:experimental+ ::
|
||||||
* * Pattern matching
|
* experimental features
|
||||||
|
* * Pattern matching
|
||||||
|
*
|
||||||
|
* +:performance+ ::
|
||||||
|
* performance hints
|
||||||
|
* * Shape variation limit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue