rbs
rbs copied to clipboard
Type Signature for Ruby
This is a proposal on how to solve the `Data` and `Struct` usage, which currently has to be hand-stitched and is often times incomplete (lack of `#members`, for example). Essentially...
To debug #2062, add an option to `ToInt` objects have `Object` methods.
I randomly got the following test failures in recent days. I'm not sure why caused these failures with Ruby core and rbs changes. ``` Error: test_compile(RegexpSingletonTest): NoMethodError: undefined method 'inspect'...
In my gemspec I have: ``` group :development do gem 'domainic-dev', path: 'domainic-dev' end ``` In my rbs_collection.yaml I have: ``` sources: - type: git name: ruby/gem_rbs_collection remote: https://github.com/ruby/gem_rbs_collection.git revision:...
Hi, I am running into an issue with blocks in rbs. It should be noted that this spec passes with rbs disabled. ``` rbs 3.5.3 ``` given the following RSpec...
from https://github.com/ruby/ruby/pull/3705
Use `()` when the argument is empty to unify the writing style.
This PR updates _most_ of `Kernel`'s module methods. Here's some things to note: 1. Only `Complex`, `Rational`, `open`, `rand`, `select`, `exec`, `spawn`, and `system` remain. These methods will be addressed...
This is a PR to support this change in Ruby: https://github.com/ruby/ruby/pull/7444 (the design is approved by Matz, and the code itself is approved by the Ruby core team). I am...
This PR updates `Integer`'s signature.