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

ruby-changes:64546

From: Yusuke <ko1@a...>
Date: Thu, 24 Dec 2020 14:58:48 +0900 (JST)
Subject: [ruby-changes:64546] 8c510e4095 (master): NEWS.md: grammatical improvement

https://git.ruby-lang.org/ruby.git/commit/?id=8c510e4095

From 8c510e4095458c783420ea0da86f9eedb139731d Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Thu, 24 Dec 2020 14:57:16 +0900
Subject: NEWS.md: grammatical improvement


diff --git a/NEWS.md b/NEWS.md
index f588a21..eb1d191 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -44,7 +44,7 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L44
 
 * One-line pattern matching is redesigned.  [EXPERIMENTAL]
 
-    * `=>` is added. It can be used like rightward assignment.
+    * `=>` is added. It can be used like a rightward assignment.
       [[Feature #17260]]
 
         ```ruby
@@ -125,13 +125,13 @@ sufficient information, see the ChangeLog file or Redmine https://github.com/ruby/ruby/blob/trunk/NEWS.md#L125
 ### `--help` option
 
 When the environment variable `RUBY_PAGER` or `PAGER` is present and has
-non-empty value, and the standard input and output are tty, the `--help`
+a non-empty value, and the standard input and output are tty, the `--help`
 option shows the help message via the pager designated by the value.
 [[Feature #16754]]
 
 ### `--backtrace-limit` option
 
-The `--backtrace-limit` option limits the maximum length of backtrace.
+The `--backtrace-limit` option limits the maximum length of a backtrace.
 [[Feature #8661]]
 
 ## Core classes updates
@@ -273,10 +273,10 @@ Outstanding ones only. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L273
       now accept single array argument with a list of method names. [[Feature #17314]]
 
     * Module#attr_accessor, Module#attr_reader, Module#attr_writer and Module#attr
-      methods now return an array of defined methods names as symbols.
+      methods now return an array of defined method names as symbols.
       [[Feature #17314]]
 
-    * Module#alias_method now returns the defined alias as symbol.
+    * Module#alias_method now returns the defined alias as a symbol.
       [[Feature #17314]]
 
 * Mutex
@@ -668,7 +668,7 @@ Excluding feature bug fixes. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L668
       the analysis result in RBS format.
 
     * Though it supports only a subset of the Ruby language yet, we will continuously
-      improve the coverage of language features, the analysis performance, and usability.
+      improve the coverage of language features, analysis performance, and usability.
 
 ```ruby
 # test.rb
-- 
cgit v0.10.2


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

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