1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update NEWS about RBS (#3579)

This commit is contained in:
Soutaro Matsumoto 2020-09-25 17:08:39 +09:00 committed by GitHub
parent 25cfb0c040
commit c5ea060ef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2020-09-25 17:09:08 +09:00
Merged-By: soutaro <matsumoto@soutaro.com>

13
NEWS.md
View file

@ -83,6 +83,8 @@ sufficient information, see the ChangeLog file or Redmine
* Interpolated String literals are no longer frozen when * Interpolated String literals are no longer frozen when
`# frozen-string-literal: true` is used. [[Feature #17104]] `# frozen-string-literal: true` is used. [[Feature #17104]]
* RBS is introduced. It is a type definition languaged for Ruby programs.
## Command line options ## Command line options
### `--help` option ### `--help` option
@ -390,6 +392,17 @@ Excluding feature bug fixes.
* Optimize C method call a little * Optimize C method call a little
## RBS
* RBS is a new language for type definition of Ruby programs.
It allows writing types of classes and modules with advanced
types including union types, overloading, generics, and
_interface types_ for duck typing.
* Ruby ships with type definitions for core/stdlib classes.
* `rbs` gem is bundled to load and process RBS files.
## Miscellaneous changes ## Miscellaneous changes
* Methods using `ruby2_keywords` will no longer keep empty keyword * Methods using `ruby2_keywords` will no longer keep empty keyword