@@ -12,23 +12,23 @@ We are pleased to announce the release of Ruby 2.3.0-preview1.
12
12
Ruby 2.3.0-preview1 is the first preview of Ruby 2.3.0.
13
13
Many new features and improvements are included.
14
14
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 )
16
16
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.
18
18
Ruby 2.3 introduces a new magic comment and command line option to
19
19
freeze all string literals in the source files.
20
20
Additionally for debugging, you can get where the object is created on
21
21
` "can't modify frozen String" ` error by
22
22
` --enable-frozen-string-literal-debug ` .
23
23
24
- [ Safe navigation operator] ( https://bugs.ruby-lang.org/issues/11537 ) ,
24
+ A [ Safe navigation operator] ( https://bugs.ruby-lang.org/issues/11537 ) ,
25
25
which already exists in C#, Groovy, and Swift, is introduced to ease
26
26
` nil ` handling as ` obj&.foo ` . ` Array#dig ` and ` Hash#dig ` are also added.
27
27
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 ) .
29
29
The did_you_mean gem
30
30
shows the candidates on the ` NameError ` and ` NoMethodError ` to ease
31
- debbugging .
31
+ debugging .
32
32
33
33
Try and enjoy programming with Ruby 2.3.0-preview1, and report us your
34
34
knowledge!
0 commit comments