Skip to content

Small improvements in 2.3.0-preview1 post (en) #1215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions en/news/_posts/2015-11-11-ruby-2-3-0-preview1-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Ruby 2.3.0-preview1 is the first preview of Ruby 2.3.0.
Many new features and improvements are included.

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