diff options
author | Soutaro Matsumoto <matsumoto@soutaro.com> | 2020-09-25 17:08:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 17:08:39 +0900 |
commit | c5ea060ef8cd6c0de9987d1a3546b79e99ebb35c (patch) | |
tree | 346acccf466e18cfacebc32406dc164cd19ce4cd /NEWS.md | |
parent | 25cfb0c04007137e2dc6d82c2dadea067498f39a (diff) |
Update NEWS about RBS (#3579)
Notes
Notes:
Merged-By: soutaro <matsumoto@soutaro.com>
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -83,6 +83,8 @@ sufficient information, see the ChangeLog file or Redmine * Interpolated String literals are no longer frozen when `# frozen-string-literal: true` is used. [[Feature #17104]] +* RBS is introduced. It is a type definition languaged for Ruby programs. + ## Command line options ### `--help` option @@ -390,6 +392,17 @@ Excluding feature bug fixes. * 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 * Methods using `ruby2_keywords` will no longer keep empty keyword |