summaryrefslogtreecommitdiff
path: root/array.rb
AgeCommit message (Collapse)Author
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 <BurdetteLamar@Yahoo.com>
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