rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Type Signature for Ruby

Results 271 rbs issues
Sort by recently updated
recently updated
newest added

Global variables in Ruby can have all sorts of characters in their names - https://docs.ruby-lang.org/en/3.0.0/doc/globals_rdoc.html It would be helpful if we could quote a global variable's name so that we...

Currently RBS allows duplicate argument names. ```rbs # In RBS, all of the following are valid class C def required_positional: (String x, String x) -> void def required_keyword: (x: String,...

Hi, thank you for providing the `optparse` types! But, when I try the types with Steep, I get the following error: 😢 ``` a.rb:6:2: [error] Cannot find compatible overloading of...

bug

Related to https://github.com/ruby/rbs/issues/654 It would be good to be able to specify the type of evaluation for a file itself. Cases where this would be useful: * Gemfile * Rake...

For methods with the following signature: ```ruby def on: (Symbol) { (*untyped) -> void } -> void ``` I usually use the following in ruby code: ```ruby on(&method(:foo)) ``` This...

Is there a way to add signatures for methods in core classes added via refinements? I remember there was an `extends` (or smth similar?) keyword for monkey patches, but that...

There's a failure I'm observing under `steep`, when using `Class.new`, similar to this bit: ```ruby class A def self.options; {} ; end def pl puts "pl" end end module Rando...

Currently, there is still no syntax highlight for `.rbs` files on GitHub (neither files nor markdown snippets). This makes it hard to read rbs code on GitHub and thus makes...

When I've recently opened PR to [add signatures of the Parallel gem](https://github.com/ruby/gem_rbs_collection/pull/21) on the ruby/gem_rbs_collection repository, I encounter the following difficulty: ```ruby # Ruby code items = [1, 2, 3]...