[DOC] Fix typos [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2019-07-14 16:00:34 +09:00
parent f2d99fd820
commit 2618db3011
No known key found for this signature in database
GPG Key ID: 262ED8DBB4222F7A

View File

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