Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
By the way, I made a presentation on Sep. 10 at RubyKaigi Takeout 2021 and explained rbs collection in the talk. This article is based on the talk. See https://github.com/pocke/rubykaigi-2021 for more details (unfortunately I spoke in Japanese but it has English slides and subtitles).
# Download sources sources: - name: ruby/gem_rbs_collection remote: https://github.com/ruby/gem_rbs_collection.git revision: main repo_dir: gems # A directory to install the downloaded RBSs path: .gem_rbs_collection gems: # Skip loading rbs gem's RBS. # It's unnecessary if you don't use rbs as a library. - name: rbs ignore: true # 👮👮👮 Add the following lines - name: pathname - name: logger - name: mutex_m - name: date - name: monitor - name: singleton - name: tsort - name: time - name: set
The repository stores third-party gems' RBSs, like DefinitelyTyped.
rbs collection feature integrates this repository and tools use RBS, such as rbs command, Steep, and TypeProf.
rbs collection feature integrates this repository and tools use RBS, such as rbs command, Steep, and TypeProf.
rbs collection has other known issues. See https://github.com/ruby/rbs/pull/589 and https://github.com/ruby/rbs/issues/794 for more information.