Masataka Pocke Kuwabara

@pocke

Joined on Oct 15, 2020

  • This document describes the design of rbs_rails gem, and the future works. It also describes Rails-related gems' RBS files in ruby/gem_rbs_collection repository. RBS files in gem_rbs_collection work with RBS Rails Some classes, modules, and interfaces are depend on RBS Rails. Be careful to introduce breaking changes to them. Generated RBS files Currently this repository contains generated and hand-written RBS files. I want to distinguish them to run the generator continuously, but unfortunately they are mixed. In the future, probably unifying these files is better. We do not need to distinguish generated and hand-written files.
     Like  Bookmark
  • This document describes rbs subtract. Basic Usage You can use rbs subtract from command line. # Print RBS to the stdout, which is generated.rbs - hand-written.rbs $ rbs subtract generated.rbs hand-written.rbs # It takes multiple minuends. The last argument becomes subtrahend. $ rbs subtract generated-a.rbs generated-b.rbs hand-written.rbs
     Like  Bookmark
  • https://pocke.hatenablog.com/entry/2021/01/02/175940 RBSはRuby 3に組み込まれた、Rubyの型情報を記述する言語です。 この記事ではRBSの文法を駆け足で紹介します。 細かい話は飛ばしますが、この記事を読めば大体のケースでRBSを読み書きできるようになると思います。 事前準備 インストール まずは文法の前に、rbs gemをインストールしましょう。
     Like  Bookmark