From 586525f99a982502bda6b0540ae5e1f7ac322168 Mon Sep 17 00:00:00 2001 From: dearblue Date: Sun, 12 Dec 2021 21:28:03 +0900 Subject: Add `Array#{repeated_combination,repeated_permutation}` methods Ruby 1.9.2 feature. ref: https://docs.ruby-lang.org/ja/3.1.0/method/Array/i/repeated_combination.html ref: https://docs.ruby-lang.org/ja/3.1.0/method/Array/i/repeated_permutation.html --- doc/mruby3.1.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/mruby3.1.md b/doc/mruby3.1.md index abe2946d1..0c9ba8108 100644 --- a/doc/mruby3.1.md +++ b/doc/mruby3.1.md @@ -37,6 +37,8 @@ Keyword arguments are basically separated from ordinal arguments ## New Methods * `Array#product` +* `Array#repeated_combination` +* `Array#repeated_permutation` * `Random.bytes` * `Random#bytes` -- cgit v1.2.3