summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2019-12-24 09:49:22 +0100
committerMarcus Stollsteimer <sto.mar@web.de>2019-12-24 09:49:22 +0100
commit44a1f51695058159ff2f191c97a082bed9665137 (patch)
treefcc887b87c09554e5678cba6e0134060062cf5eb /NEWS
parent27b4f477d960c75f3ff5cd5e045b307cad314ec7 (diff)
NEWS: improve sections for warning option / Warning
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS10
1 files changed, 5 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 206e385..fbe4223 100644
--- a/NEWS
+++ b/NEWS
@@ -247,14 +247,14 @@ sufficient information, see the ChangeLog file or Redmine
* Refinements take place at Object#method and Module#instance_method. [Feature #15373]
-=== Command line option
+=== Command line options
==== Warning option
-+-W+ option has been extended with a following +:+, to manage categorized
+The +-W+ option has been extended with a following +:+, to manage categorized
warnings. [Feature #16345] [Feature #16420]
-* To suppress the deprecation warning:
+* To suppress deprecation warnings:
$ ruby -e '$; = ""'
-e:1: warning: `$;' is deprecated
@@ -265,7 +265,7 @@ warnings. [Feature #16345] [Feature #16420]
$ RUBYOPT=-W:no-deprecated ruby -e '$; = //'
-* To suppress experimental feature warning:
+* To suppress experimental feature warnings:
$ ruby -e '0 in a'
-e:1: warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!
@@ -545,7 +545,7 @@ Warning::
New methods::
- * Added Warning.[] and Warning.[]= to manage emit/suppress of
+ * Added Warning.[] and Warning.[]= to manage emitting/suppressing
some categories of warnings. [Feature #16345] [Feature #16420]
$LOAD_PATH::