summaryrefslogtreecommitdiff
path: root/array.rb
AgeCommit message (Collapse)Author
2024-02-17Use `defined?(yield)` and `SIZED_ENUMERATOR`Nobuyoshi Nakada
Prefer built-in features over method calls that may be overridden.
2024-02-14[DOC] Doc compliance (#9955)Burdette Lamar
2024-01-23Rewrite Array#each in Ruby using Primitive (#9533)Takashi Kokubun
2023-08-15[DOC] Improve doc guide compliance (#8221)Burdette Lamar
2023-05-10[DOC] Move docs of `Array#first` and `Array#last` to array.rbNobuyoshi Nakada
2023-03-23`Array#first` and `Array#last` in RubyKoichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/7486
2021-11-15Use `Primitive.mandatory_only?` for `Array#sample`Koichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/5112
2021-09-22[DOC] Additional to Array#sample [ci skip]Nobuyoshi Nakada
* The requirement to the +n+ argument. * The order of the result array. [Misc #14147]
2020-11-12array.rb: Remove unnecessary phrase from rdocYusuke Endoh
A fix to 54fb8fb62a30c7b60ab6443a62821f6f8bc479c4
2020-11-12array.rb: show examples whether `Array#shuffle!` has side effect or notYusuke Endoh
Partially revert 54fb8fb62a30c7b60ab6443a62821f6f8bc479c4
2020-09-02Comply with guide for method doc: array.c (#3506)Burdette Lamar
Methods: any? all? one? none? sum shuffle! shuffle sample Notes: Merged-By: BurdetteLamar <[email protected]>
2020-06-19[Feature #16254] Use `Primitive.func` styleNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3165
2020-06-19[Feature #16254] Use `__builtin.func` styleNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3165
2020-02-01Removed useless shebang and executable bit [ci skip]Nobuyoshi Nakada
2020-01-27Cleaned an excess semicolon up [ci skip]Nobuyoshi Nakada
which has not been removed when translated from C.
2020-01-26Moved Array#sample to rbincNobuyoshi Nakada
2020-01-26Moved Array#shuffle and Array#shuffle! to rbincNobuyoshi Nakada