Skip to content

Commit f3803a0

Browse files
committed
Merge pull request #1204 from ruby/en/patch-230-preview1
Improves readability of 2.3.0-preview1 release post (en)
2 parents 6340663 + c7301f7 commit f3803a0

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
@@ -14,20 +14,20 @@ Many new features and improvements are included.
1414

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

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

2828
[did_you_mean.gem is
2929
bundled](https://bugs.ruby-lang.org/issues/11252). did_you_mean.gem
30-
show the candidates on the NameError and NoMethodError to ease
30+
show the candidates on the `NameError` and `NoMethodError` to ease
3131
debbugging.
3232

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

0 commit comments

Comments
 (0)