rbs
rbs copied to clipboard
Type Signature for Ruby
(tentative) added support for inheriting from delegator classes By defining such RBS classes such as: ```ruby class Tempfile < Delegator[File] ... ``` with this patch, while building the instance definition,...
I'm getting the mentioned error when doing smth like: ```ruby ERRORS = [TypeError, StandardError] # ... case error when *ERRORS # error happens here # ... ```
I'm just enabling "rbs collection" in a project previously integrated with rbs. After doing `rbs collection install`, running rbs-enabled tests breaks on parsing sig files, on a static var which...
I'd like to be able to have an `rbs_collection.yaml` where the source is a local path. In my case, there is no definition for the stripe gem in gem_rbs_collection. So...
Hey. We use `SimpleDelegator` but I can't reference it in any of my RBS files. Would this be feasible to add?
# Problem `bundle install` (and `bundle update`) requires `rbs collection update` when it updates Gemfile.lock about gems which have `sig/`. For example: 1. Install gem X v1.0.0 with bundler 2....
Here is example ```ruby # foo.rb class Foo def foo(&block) define_singleton_method(:bar, block) end end Foo.new.foo { |i| (i * i) } ``` ```rbs class Foo def foo: { (Integer) ->...
RBS currently doesn't support `protected` method visibility. Protected methods are specified as public in generated rbs files. Semantically protected methods are not the same as public. So I have a...
I'm getting a few issues in `steep` which might be directly related to rbs. Take the following example into account: ```ruby # rbs class A EX: ^(String name) -> bool...