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

ruby-changes:56462

From: Kazuhiro <ko1@a...>
Date: Sun, 14 Jul 2019 16:00:57 +0900 (JST)
Subject: [ruby-changes:56462] Kazuhiro NISHIYAMA: 2618db3011 (master): [DOC] Fix typos [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=2618db3011

From 2618db3011edb07fffb9250137ea3a3a6c87cec4 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Sun, 14 Jul 2019 16:00:34 +0900
Subject: [DOC] Fix typos [ci skip]


diff --git a/doc/NEWS-2.6.0 b/doc/NEWS-2.6.0
index 4ad4b08..2303a5b 100644
--- a/doc/NEWS-2.6.0
+++ b/doc/NEWS-2.6.0
@@ -56,7 +56,7 @@ Array:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L56
 
     * Added Array#union and Array#difference instance methods.  [Feature #14097]
 
-  Modified methods::
+  Modified method::
 
     * Array#to_h now accepts a block that maps elements to new key/value pairs.  [Feature #15143]
 
@@ -67,7 +67,7 @@ Array:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L67
 
 Binding::
 
-  New methods::
+  New method::
 
     * Added Binding#source_location.  [Feature #14230]
 
@@ -87,13 +87,13 @@ Dir:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L87
 
 Enumerable::
 
-  New methods::
+  New method::
 
     * Enumerable#chain returns an enumerator object that iterates over the
       elements of the receiver and then those of each argument
       in sequence.  [Feature #15144]
 
-  Modified methods::
+  Modified method::
 
     * Enumerable#to_h now accepts a block that maps elements to new key/value pairs.  [Feature #15143]
 
@@ -130,7 +130,7 @@ Enumerator:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L130
 
 ENV::
 
-  Modified methods::
+  Modified method::
 
     * ENV.to_h now accepts a block that maps names and values to new keys and values.  [Feature #15143]
 
@@ -158,7 +158,7 @@ Hash:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L158
 
 IO::
 
-  New options::
+  New option::
 
     * Added new mode character <code>'x'</code> to open files for exclusive
       access. [Feature #11258]
@@ -209,20 +209,20 @@ Module:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L209
 
 NameError::
 
-  New options::
+  New option::
 
     * NameError.new accepts a +:receiver+ option to set receiver in Ruby
       code.  [Feature #14313]
 
 NilClass::
 
-  New methods::
+  New method::
 
     * NilClass#=~ is added for compatibility.  [Feature #15231]
 
 NoMethodError::
 
-  New options::
+  New option::
 
     * NoMethodError.new accepts a +:receiver+ option to set receiver in Ruby
       code.  [Feature #14313]
@@ -236,7 +236,7 @@ Numeric:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L236
 
 OpenStruct::
 
-  Modified methods::
+  Modified method::
 
     * OpenStruct#to_h now accepts a block that maps keys and values to new keys and values.  [Feature #15143]
 
@@ -252,13 +252,13 @@ Proc:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L252
 
 Random::
 
-  New methods::
+  New method::
 
     * Added Random.bytes.  [Feature #4938]
 
 Range::
 
-  New methods::
+  New method::
 
     * Added Range#% instance method.  [Feature #14697]
 
@@ -293,7 +293,7 @@ RubyVM::AbstractSyntaxTree:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L293
 
 RubyVM::
 
-  New methods::
+  New method::
 
     * RubyVM.resolve_feature_path identifies the file that will be loaded by
       "require(feature)". [experimental] [Feature #15230]
@@ -308,7 +308,7 @@ String:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L308
 
 Struct::
 
-  Modified methods::
+  Modified method::
 
     * Struct#to_h now accepts a block that maps keys and values to new keys and values.  [Feature #15143]
 
@@ -338,7 +338,7 @@ TracePoint:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L338
 
     * TracePoint#eval_script [Feature #15287]
 
-  Modified methods::
+  Modified method::
 
     * TracePoint#enable accepts new keywords "target:" and
       "target_line:".  [Feature #15289]
@@ -350,7 +350,7 @@ BigDecimal:: https://github.com/ruby/ruby/blob/trunk/doc/NEWS-2.6.0#L350
   Update to version 1.4.0.  This version includes several compatibility
   issues, see Compatibility issues section below for details.
 
-  Modified methods::
+  Modified method::
 
     * BigDecimal() accepts the new keyword "exception:" similar to Float().
 
-- 
cgit v0.10.2


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

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