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

Since the implementation of Set is Hash, the key must have a `hash` method. ``` $ ruby -e 'Set.new([BasicObject.new])' /Users/ksss/.rbenv/versions/3.3.0/lib/ruby/3.3.0/set.rb:509:in `add': undefined method `hash' for an instance of BasicObject (NoMethodError)...

the only instance of a nil superclass is basic object. This is a proposal to make this definition more precise. open for discussion.

Proposal to address #1791 : addes a `rest_type` to Tuple class, which shall be used to type variable size tail elements of tuples. I just don't know where to add...

I've found that I can't type a certain type of code I maintain, where it'd make sense to do so. ```ruby operation = ["+"] operation

enhancement
spec

- Should be return bot for methods of abstruct class. Use interface instead. - The number of arguments of Digest::Class methods cannot be determined because they are delegated to the...

It is a common pattern for `#each` to support both yielding to a block and returning an `Enumerator` when no block given. I add this interface as a convenience for...

Method visibility is public by default. `public` is always redundant because the order in which methods appear is always guaranteed at `rbs prototype runtime`.