rbs
rbs copied to clipboard
Type Signature for Ruby
There is a problem if the `#initialize` type is fixed. The user must match or override the return type of `#initialize` in the inherited class. The `#initialize` does not need...
This updates `Rational`. It requires the Float PR (#1745) to be merged in so the diff changelog doesn't create conflicts
Bumps [test-unit](https://github.com/test-unit/test-unit) from 3.6.1 to 3.6.2. Release notes Sourced from test-unit's releases. test-unit 3.6.2 - 2024-02-16 Improvements UI: console: Add --gc-stress option that enables GC.stress only whie each test is...
This updates `Float`: - Move constants inside it - Added `Numeric::_XXX` interfaces for operators, as well as `Numeric::_Coerce` - `Float#{+,-,*,/,%,**,,=,,divmod,quo}`: Now uses `Numeric::_XXX` methods. - Multiple methods (eg `Float#===` and...
- added protect to compiled thing i think - Aded to rb stuff too i think - added to sorter
Bumps [rbs](https://github.com/ruby/rbs) from 3.4.3 to 3.4.4. Release notes Sourced from rbs's releases. 3.4.4 Release note Miscellaneous Backport #1752 (#1753) Commits 99b1113 Version 3.4.4 7b65f5c Merge pull request #1753 from ruby/backport-1752...
This updates `Encoding::Converter`. More specifically, it: - `Encoding::Converter::encoding`: Removed (lives in `builtin.rbs`) - Moved constants within `Encoding::Converter` - `{search_convpath,initialize}`: Added `flags` variant, split apart `newlines` vs explicit newline arguments -...
This pr updates GC's signatures, unit tests, and adds in the `Writer` test type (which implements `_Writer`). Two methods, `GC.latest_gc_info` and `GC.stat` technically can accept any hash, and just add...
Phew! This one took awhile :-P. This PR updates `IO`'s instance methods. More specifically, this makes the following general changes: - Deprecates `::_ReaderPartial` (renamed to `IO::_Readpartial`) and `::_Rewindable` (now unused)...