Skip to content

Release Note 3.1

Soutaro Matsumoto edited this page Apr 26, 2023 · 4 revisions

Some of the highlights in RBS 3.1 are:

  • Add rbs subtract method (#1287)
  • Add more options to rbs parse command (#1252)

You can install it with $ gem install rbs or using Bundler.

gem 'rbs', '~> 3.1.0'

See the CHANGELOG for the details.

There are no (intended) breaking changes in RBS 3.1. You can upgrade safely from 3.0 to 3.1.

Add rbs subtract method

(TBD)

Add more options to rbs parse command

You can test if a string is a correct RBS syntax with rbs parse with -e option without writing it to a file.

$ rbs parse -e 'class Foo end'
$ rbs parse --type -e 'Array[Integer]'
$ rbs parse --method-type -e '() { () [self: self] } -> void'
Clone this wiki locally