Skip to content

Commit 133d6b3

Browse files
committed
More improvements in 2.3.0-preview1 post (en)
1 parent 60f4afd commit 133d6b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

en/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ We are pleased to announce the release of Ruby 2.3.0-preview1.
1212
Ruby 2.3.0-preview1 is the first preview of Ruby 2.3.0.
1313
Many new features and improvements are included.
1414

15-
[Frozen String Literal Pragma](https://bugs.ruby-lang.org/issues/11473)
15+
A [Frozen String Literal Pragma](https://bugs.ruby-lang.org/issues/11473)
1616
is introduced.
17-
With Ruby 2.1, `"str".freeze` was optimized to reduce object allocation.
17+
With Ruby 2.1, `"str".freeze` has been optimized to reduce object allocation.
1818
Ruby 2.3 introduces a new magic comment and command line option to
1919
freeze all string literals in the source files.
2020
Additionally for debugging, you can get where the object is created on
2121
`"can't modify frozen String"` error by
2222
`--enable-frozen-string-literal-debug`.
2323

24-
[Safe navigation operator](https://bugs.ruby-lang.org/issues/11537),
24+
A [Safe navigation operator](https://bugs.ruby-lang.org/issues/11537),
2525
which already exists in C#, Groovy, and Swift, is introduced to ease
2626
`nil` handling as `obj&.foo`. `Array#dig` and `Hash#dig` are also added.
2727

28-
[did_you_mean gem is bundled](https://bugs.ruby-lang.org/issues/11252).
28+
The [did_you_mean gem is bundled](https://bugs.ruby-lang.org/issues/11252).
2929
The did_you_mean gem
3030
shows the candidates on the `NameError` and `NoMethodError` to ease
31-
debbugging.
31+
debugging.
3232

3333
Try and enjoy programming with Ruby 2.3.0-preview1, and report us your
3434
knowledge!

0 commit comments

Comments
 (0)