diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-21 21:30:47 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-10-21 21:32:40 +0900 |
commit | ec2da08e2b65902168d7f4a6bed86c6c8842aa02 (patch) | |
tree | 1c15aa7822381d26f980dfd9d81dd9d3c1ae5ba2 /NEWS | |
parent | 228ebdbf2fe65c673be8b6240cdec4f1b266eb2f (diff) | |
download | bundler-ec2da08e2b65902168d7f4a6bed86c6c8842aa02.tar.gz |
NEWS: fixed indents [ci skip]
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -97,7 +97,7 @@ sufficient information, see the ChangeLog file or Redmine * Non-Symbol keys in a keyword arguments hash were prohibited in 2.6.0, but are now allowed again. [Bug #15658] - def foo(**kw); p kw; end; foo("str" => 1) #=> {"str"=>1} + def foo(**kw); p kw; end; foo("str" => 1) #=> {"str"=>1} * <code>**nil</code> is allowed in method definitions to explicitly mark that the method accepts no keywords. Calling such a method with keywords @@ -198,9 +198,9 @@ Comparable:: * Comparable#clamp now accepts a Range argument. [Feature #14784] - -1.clamp(0..2) #=> 0 - 1.clamp(0..2) #=> 1 - 3.clamp(0..2) #=> 2 + -1.clamp(0..2) #=> 0 + 1.clamp(0..2) #=> 1 + 3.clamp(0..2) #=> 2 Complex:: @@ -227,11 +227,11 @@ Enumerable:: * Added Enumerable#filter_map. [Feature #15323] - [1, 2, 3].filter_map {|x| x.odd? ? x.to_s : nil } #=> ["1", "3"] + [1, 2, 3].filter_map {|x| x.odd? ? x.to_s : nil } #=> ["1", "3"] * Added Enumerable#tally. [Feature #11076] - ["A", "B", "C", "B", "A"].tally #=> {"A"=>2, "B"=>2, "C"=>1} + ["A", "B", "C", "B", "A"].tally #=> {"A"=>2, "B"=>2, "C"=>1} Enumerator:: |