rbs
rbs copied to clipboard
Type Signature for Ruby
If you use -std=c99, GCC doesn't use optimizations which use compiler builtin functions instead of C library. https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html https://bugs.ruby-lang.org/issues/12336
https://github.com/ruby/rbs/blob/master/ext/rbs_extension/extconf.rb#L3 This line is valid only for GCC. Please check whether the compiler is GCC or not before adding.
Follow up https://github.com/ruby/ruby/commit/85502f3.
Hello! Is it possible to hint the type of `self` in a module intended to be used as a mixin? Thanks!
I propose adding `-e` option and so on to `rbs parse` command. # Why Currently we need to put a `.rbs` file in order to run a syntax check. It...
We provide the signatures of a very limited number of standard library classes. We will really appreciate if you write the signature of other classes. (Note that we are currently...
According to recent sigs update: https://github.com/ruby/rbs/blob/master/sig/polyfill.rbs#L31 some keywords may be used as identifiers. IRR it was not possible in the old lexer/parser. Is there some official position on this and...
I propose to move RubyGems library's RBS from stdlib to core. In Ruby, `rubygems` is loaded by default unless `--disable-gems` is given. `--disable-gems` option is provided only for debugging Ruby...
There are some changes in method type definitions in Ruby 3.1 and many documentation changes since the RBS files in this repo is generated. So, let's update the RBS files!...