| Age | Commit message (Collapse) | Author |
|
With verbopse mode (-w), the interpreter shows a warning if
a block is passed to a method which does not use the given block.
Warning on:
* the invoked method is written in C
* the invoked method is not `initialize`
* not invoked with `super`
* the first time on the call-site with the invoked method
(`obj.foo{}` will be warned once if `foo` is same method)
[Feature #15554]
`Primitive.attr! :use_block` is introduced to declare that primitive
functions (written in C) will use passed block.
For minitest, test needs some tweak, so use
https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a
for `test-bundled-gems`.
|
|
Prefer built-in features over method calls that may be overridden.
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7486
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5112
|
|
* The requirement to the +n+ argument.
* The order of the result array. [Misc #14147]
|
|
A fix to 54fb8fb62a30c7b60ab6443a62821f6f8bc479c4
|
|
Partially revert 54fb8fb62a30c7b60ab6443a62821f6f8bc479c4
|
|
Methods:
any?
all?
one?
none?
sum
shuffle!
shuffle
sample
Notes:
Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3165
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3165
|
|
|
|
which has not been removed when translated from C.
|
|
|
|
|